Re: $_SESSION variable gets lost on FORM action
| From: | Roman Neuhauser | Date: | Thu, 18 Jan 2007 01:36:21 +0000 |
| Subject: | Re: $_SESSION variable gets lost on FORM action | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247282@lists.php.net to get a copy of this message | ||
# dreasi0n.php.net@gmail.com / 2007-01-18 00:06:27 +0000:
> >Roman wrote:
> >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
>
> My English is not the best and I'm not sure what you mean. By looking at
> the document you linked I'm thinking that the problem you're talking about
> is not the '?var=value' but instead, the fact of being using a relative URL.
>
> Am I correct?
Yes.
> If so, is there a way to know the full address of the index.php file?
You don't need to know your IP. See the grammar for AbsoluteURI:
ftp://ftp.rfc-editor.org/in-notes/rfc2396.txt
> I'm asking this because my IP is dynamic and I'm using a free redirection
> service. My site is at
> 'http://something.no-ip.org/sitename' can I use
>
> 'http://something.no-ip.org/sitename/index.php?vaz=value'
> on the
> Locarion header?
Actually you *must* use it instead of just the "index..." part.
--
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