php3-list | 199908
Date: 08/25/99
- Next message: KAISER Laszlo: "[PHP3] sig11"
- Previous message: Samuel Liddicott: "RE: [PHP3] BLOBs in PostgreSQL"
- Next in thread: Derek Sivers: "Re: [PHP3] page redirection _after_ some seconds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 25 Aug 1999, Scott Schultz wrote:
> Aaron;
>
> The "refresh" meta-tag is not the same thing as the "location" header.
> The meta-tag is essentially an instruction to the browser to do something
> in X seconds. It's a delayed response. While I haven't checked lately,
> I'd be willing to bet that it's not standard HTML at all. It's something
> that Netscape came up with originally in order to create animation on
> a web page. IE copied it and it became a de factor standard.
>
> The location header IS an actual header and it DOES have to appear before
> any text is sent. The difference is that it causes an immediate
> change instead of a time-delayed change.
Hmmm. Scott,
I tried to send it in the BODY but it did not work. Tested in in both IE
4.x and Netscape 4.6. But when I put it in the HEAD section it will work.
The problem is that I want to send it onyl when a certain condition is
true. This condition can only be determined in the BODY.
Any further ideas?
Aaron.
>
> Scott Schultz
> scott <email protected>
>
> -----Original Message-----
> From: Aaron Leon Kaplan [mailto:jjl <email protected>]
> Sent: Wednesday, August 25, 1999 8:44 AM
> To: Haydn Haines - Sun Microsystems Middle East
> Cc: php3 <email protected>
> Subject: Re: [PHP3] page redirection _after_ some seconds
>
>
>
>
> > Hi Aaron,
> >
> > You can use this... "2" is the time delay for the redirect:
> >
> > <META HTTP-EQUIV="Refresh" CONTENT="2;
> URL=http://homes.arealcity.com/UforiX/">
> >
> > Regards,
> >
> > Haydn.
>
> Thanks.
>
>
> I do suspect that this wont't work since I have sent the HTTP Header
> already at the time where I would like to send the redirect.
>
> I would like to say something like:
>
> "Dear user you will be redirected to another page in 5 seconds"
>
> if and only if some other condition in my php script is true.
> However I can only determine that condition after I have sent the HTTP
> Header and after I have wrote some (BODY) text to the client. AFAIK the
> META tag is onyl valid in the HTTP Header. And you cant send a HTTP Header
> after you wrote some body text
>
>
> Am I missing smthng?
>
>
> Aaron.
>
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: KAISER Laszlo: "[PHP3] sig11"
- Previous message: Samuel Liddicott: "RE: [PHP3] BLOBs in PostgreSQL"
- Next in thread: Derek Sivers: "Re: [PHP3] page redirection _after_ some seconds"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

