Re: Headers
| From: | Christian Reiniger | Date: | Thu, 26 Jul 2001 04:31:33 +0000 |
| Subject: | Re: Headers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59677@lists.php.net to get a copy of this message | ||
On Wednesday 25 July 2001 15:24, Richard Baskett wrote:
> What does the header look like when you submit a form using the POST
> method? I would like to transfer some php variables to another page
> using the header() function. The Location part I have down no problem,
> but I don't want to do something like this:
>
> header(Location:mypage.html?variable1=total)
>
> This shows all the variables in the URL. Is there a way to use a
> header to POST variables to the Location part of the header?
Header () is for altering the HTTP headers sent back to the browser. Read
some HTTP intro. Regarding your problem - have a look into sessions. they
might be what you want.
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
Error 032: Recursion error - see error 032