PDA

View Full Version : Page Redirect Scripts or tags?


TimT
09-10-2001, 11:43 AM
Can anyone recommend a good redirect script that works good in all browsers? I used to use <meta http-equiv="Refresh" Content="20; URL=http://www.mytimbuk2.com"> but it doesn't seem to work any more.
Thanks
Tim

PaulKroll
09-10-2001, 12:57 PM
Best way to redirect is not with meta tags or javascripts which are all but always optional things, but with server (HTTPD) headers. See http://www.php.net/manual/en/function.header.php and specifically, the example that uses 'header("Location: http://www.php.net");' for info.