Re: [PHP] Passing HTTP_POST from one script to another

2001-08-08 Thread Renze Munnik

On Tue, Aug 07, 2001 at 11:27:51PM +0500, Vikram Vaswani wrote:
 Hi,
 
 'nother question: if I have a form which submits data in POST to script
 a.php, and I now want to pass this POSTed data to b.php - how do I do
 this?
 
 I have tried the technique of iterating through $HTTP_POST and
 concatenating the key-value pairs into a GET URL, which works perfectly.
 However, I would like to pass the data from a.php to b.php as POST data, in
 the HTTP_POST array itself - is this possible, and how do I do it?
 
 Thanks!
 
 Vikram
 --
 I wouldn't recommend sex, drugs, and insanity for everyone, but it works
 for me.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


Try using sessions. Put the values/variables from $HTTP_POST_VARS
into the session and then U can use 'm again on b.php.

-- 

* RzE:

-- 
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
--
-- http://www.datalink.nl
-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Passing HTTP_POST from one script to another

2001-08-08 Thread A.T.Z.


Try using sessions. Put the values/variables from $HTTP_POST_VARS
into the session and then U can use 'm again on b.php.

Or.. put the post vars into hidden textfields.. these do get posted to the 
next page..

If you run out of luck and have to deal with PHP3.. sessions doesn't seem 
to work very well on PHP3.. But this alternative also runs great on PHP4..

Bye,



B.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Passing HTTP_POST from one script to another

2001-08-07 Thread Vikram Vaswani

Hi,

'nother question: if I have a form which submits data in POST to script
a.php, and I now want to pass this POSTed data to b.php - how do I do
this?

I have tried the technique of iterating through $HTTP_POST and
concatenating the key-value pairs into a GET URL, which works perfectly.
However, I would like to pass the data from a.php to b.php as POST data, in
the HTTP_POST array itself - is this possible, and how do I do it?

Thanks!

Vikram
--
I wouldn't recommend sex, drugs, and insanity for everyone, but it works
for me.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]