Passing HTTP_POST from one script to another
| From: | Vikram Vaswani | Date: | Tue, 07 Aug 2001 18:27:51 +0000 |
| Subject: | Passing HTTP_POST from one script to another | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61673@lists.php.net to get a copy of this message | ||
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.