Re: Re: HTTP header question.

From: Date: Mon, 30 Jul 2001 06:42:42 +0000
Subject: Re: Re: HTTP header question.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60152@lists.php.net to get a copy of this message
On Monday 30 July 2001 03:10, Ben Bleything wrote: > I understand that the POST operation stores the data from the form in > the message headers... I just need to know which headers, so I can use > that information to write my own... I basically want to make it seem as > if the $failure var was POST'ed back to the page. > > I'm having NO luck whatsoever with the HTTP RFC's... too thick => Read them nevertheless. A POST is a request from the client (browser) to the webserver. PHP's header () is used to send a response header from the webserver to the browser. Wrong way for what you want to do. header ("Location: http://XY") works (if there's a header ('302: Moved Temporarily'); before it), because it just tells the browser "don't use this URL at the moment - try XY instead" and the browser initiates a new request based on that. -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) This is JohnC IMHO, I compaired tri-word groupings here and in his plan and got a good match. - /. posting discussing the likelihood that an AC post that claimed to be posted by John Carmack during his honeymoon (and having the login info at home) was actually from him.

« previous php.general (#60152) next »