Re: headers
| From: | Julio Nobrega Trabalhando | Date: | Wed, 05 Dec 2001 12:51:06 +0000 |
| Subject: | Re: headers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76708@lists.php.net to get a copy of this message | ||
header("Location: example.php?var=$value"); etc...
Or sessions...
--
Julio Nobrega
Don't eat the yellow snow.
"Wilbert Enserink" <wilbert@pdd.nl> wrote in message
news:00e101c17d86$a2c391a0$0301a8c0@168.1.1...
> Hi all,
>
>
> my q: The results of a form are being POSTed to a php script. There I play
> around with the inputted variables. Now I want to post them again to a new
> script. I know I should use
>
> header(location:http://www.xxx.yyy/somepage.php)
>
>
> But how do I construct the header which is used to post my variables
> ($var="value")to the page at www.xxx.yyy/somepage.php
>
> I tried this:
>
>
> $var="value";
> header("Location:http://www.xxx.yyy/somepage.php");
> header ("var: value");
>
> but it didn't work....
>
>
> any ideas on constructing a header are welcome!?
>
> Thanx in advance,
>
> regards,
>
> Wilbert
>
> -------------------------
> Pas de Deux
> Van Mierisstraat 25
> 2526 NM Den Haag
> tel 070 4450855
> fax 070 4450852
> http://www.pdd.nl
> info@pdd.nl
> -------------------------