Re: headers
| From: | Stefan Rusterholz | Date: | Wed, 05 Dec 2001 15:00:13 +0000 |
| Subject: | Re: headers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76723@lists.php.net to get a copy of this message | ||
Try this:
http://phpclasses.upperdesign.com/browse.html/package/375
It let's you easily post an array of variables to another page.
To do it manually take a look at the function fsockopen().
If you have the need for a modified variant which is able to handle multiple
identically named fields then tell me.
I hope I could help
Stefan Rusterholz, s.rusterholz@interaktion.ch
----------------------------------
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
----------------------------------
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www.interaktion.ch
----------------------------------
----- Original Message -----
From: "Wilbert Enserink" <wilbert@pdd.nl>
To: <php-general@lists.php.net>
Sent: Wednesday, December 05, 2001 1:16 PM
Subject: [PHP] headers
> 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
> -------------------------
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>