Re: redirect to another page in PHP???
| From: | Tomas | Date: | Fri, 20 Jul 2001 08:12:35 +0000 |
| Subject: | Re: redirect to another page in PHP??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58860@lists.php.net to get a copy of this message | ||
I add this way to the list:
header("Refresh: 0;url=$myurl"); (it´s really the same that using META
tag!)
Ok, I want to make you note that:
1) echo "<META HTTP-EQUIV='Refresh' CONTENT='0; URL=$myurl'>";
2) header("Refresh: 0;url=$myurl");
Work fine when sending cookies... (setcookie function)
... while:
3) header ("Location: $myurl");
Seems to work faster but it doesn't work with cookies (at least in my
experience... ;-)
Bye, Tomas.