Re: headers

From: Date: Wed, 05 Dec 2001 13:09:31 +0000
Subject: Re: headers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76711@lists.php.net to get a copy of this message
http://www.w3.org/Protocols/rfc2616/rfc2616.txt can help, IMHO M.N. atleast, I think, you must somehow announce , that you are using POST method ...? -- Wilbert Enserink wrote: > 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

« previous php.general (#76711) next »