Re: PHP Redirect in the middle of code?
| From: | Ken | Date: | Mon, 10 Sep 2001 17:00:05 +0000 |
| Subject: | Re: PHP Redirect in the middle of code? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66781@lists.php.net to get a copy of this message | ||
At 08:11 AM 9/10/01 -0700, Steve Edberg wrote:
>Right off the top of my head, you have three options that I can see:
>(3) Use a META REFRESH tag. For example:
>
> <META HTTP-EQUIV="refresh" CONTENT="1;page.php">
>
>where 1 is the time (in seconds) before you want the redirect, and 'page.php' is where
>you want the redirect to. Of course, this tag needs to be in the <HEAD> section, so it might
>not help you much.
Not necessarily true, the <head> part. My application outputs a <meta ...refresh...>
line really late in the HTML document - definitely inside the <body> section - and the refresh
seems to be working for all.
- Ken
kenzo@free-music.com