Re: $_SESSION variable gets lost on FORM action
| From: | Roman Neuhauser | Date: | Wed, 17 Jan 2007 21:10:03 +0000 |
| Subject: | Re: $_SESSION variable gets lost on FORM action | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247259@lists.php.net to get a copy of this message | ||
# dreasi0n.php.net@gmail.com / 2007-01-17 19:06:16 +0000:
> Stut wrote:
> >Redirecting using a Location header is not the only thing you can do
> >with the header() function. It will never end processing of the script
> >no matter what you pass to it. The example on the manual page for the
> >header() function says as much (http://php.net/header), you read that
> >right?
> Well, I feel like a du***ss!
>
> No, I hadn't read that. I promisse, and this one is to keep, I won't
> post to this list again without dedicate enough time to the problem, at
> least to read the manual.
>
> Anyway, thank you for confirm what I should have known in advance and
> also for remembering me that PHP developers have a PHP manual for PHP
> users...
Also, the header() call you provided in the original post was a
violation of HTTP. Knowing the programming language is just one of
your responsibilities IMNSHO. The manual for HTTP users (you!) is at
ftp://ftp.rfc-editor.org/in-notes/rfc2616.txt
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991