Re: header("Location: ...") correct implementation
| From: | John Steele | Date: | Mon, 05 Nov 2001 03:33:17 +0000 |
| Subject: | Re: header("Location: ...") correct implementation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73467@lists.php.net to get a copy of this message | ||
Hi Philip,
After working with PHP for 3 plus years now, I sure hope you're right eventually. My main
reason for posting on this subject is that I just couldn't watch another thread pass by
discussing problems with header() without bring it up...
Another is that I'm getting a little tired of having to fix this in so many fine OpenSource
releases; typing can be such a pain in the wrist!
Actually, I thought it had a *slim* chance of catching a few peoples' attention that
don't RTFM (or RFCs), including several commercial products that otherwise would produce
somewhat decent code (names witheld to protect the guilty) :>
Thanks for the response, and keep on PHP'in:
John
>> An example is:
>>
>> Location: http://www.w3.org/pub/WWW/People.html
>>
>> I.E. header("Location: mypage.php") should not be used...
>
>Nobody will disagree with you on that :) About six weeks ago there was a
><note> added to the manual on this, the information will slowly sink in
>the minds of all the little faithful manual reading PHP users :)
>
>Regards,
>Philip Olson
--
/* SteeleSoft Consulting John Steele - Systems Analyst/Programmer
* We also walk dogs... Dynamic Web Design PHP/MySQL/Linux/Hosting
* www.steelesoftconsulting.com jsteele@steelesoftconsulting.com
*/