Hi Clair,
Breaks the back button, something else I didn't know.
No wonder it got the thumbs down by some articles I read.
Thanks, Bob.
----- Original Message -----
From: "cds_shaw" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 21, 2005 12:23 AM
Subject: [php-list] Re: header refresh
> --- In [EMAIL PROTECTED], "Bob" <[EMAIL PROTECTED]> wrote:
>> Is it safe to use:
>> header("refresh: 0; url=http://www.website.com/page1.php");
>>
>> Googling for it produces mixed results.
>> Some say it's ok and others say it's unreliable?
>
> Safe, but bad practice, since it breaks the back butten.
>
> You're best using the 'location' header:
> header("Location: foo.php");
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hl8bbe5/M=362329.6886308.7839368.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1124672921/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~->
Community email addresses:
Post message: [EMAIL PROTECTED]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/