/ Published in: PHP

Just a function for correct redirecting
*UPD1* header added for Google Chrome
*UPD1* header added for Google Chrome
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function redirect($url = './', $permanent=false) { if($permanent) { } else { } exit('If your browser does not support automatic redirect, <a href="' . $url . '" title="proceed">click here</a>.'); }
Comments
