/ Published in: PHP
Just a function for correct redirecting
UPD1 header added for Google Chrome
Expand |
Embed | Plain Text
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>.'); }
You need to login to post a comment.
