Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] page redirection _after_ some seconds From: Colby Williams (colby <email protected>)
Date: 08/25/99

   The <META> tag will work just fine for you. META tags aren't technically a part of the header that header() uses. Try it, you'll see :)

---------- Original Message ----------------------------------
From: Aaron Leon Kaplan <jjl <email protected>>
Date: Wed, 25 Aug 1999 17:44:10 +0200 (CEST)

>

> 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.

--
Common sense isn't.
--

-- 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>