Re: redirection to another page function
| From: | James Holloway | Date: | Mon, 23 Apr 2001 09:46:33 +0000 |
| Subject: | Re: redirection to another page function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49825@lists.php.net to get a copy of this message | ||
One thing that doesn't seem to have been considered is the use of the
"refresh" meta tag. Whilst it depends on whether or not the browser is
archaic (and let's face it, most people nowadays seem to be running at least
version 4 of either IE or Netscape), it's something that can't be turned off
(at least to my knowledge, I could be wrong) and workarounds can be supplied
for instances when the browser doesn't accept the tag. This doesn't hinder
programming too much, as you don't have to worry about sending output after
headers, nor whether or not the browser has javascript enabled.
Personally, I prefer to use the header() function, and it's ages since I've
used this meta tag, though it's worth keeping in mind that old techniques
can still be useful ;)
<META HTTP-EQUIV="Refresh" CONTENT="1;url=page.php">
James.