Re: Passing HTTP_POST from one script to another
| From: | Renze Munnik | Date: | Wed, 08 Aug 2001 08:43:55 +0000 |
| Subject: | Re: Passing HTTP_POST from one script to another | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61771@lists.php.net to get a copy of this message | ||
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: 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
Try using sessions. Put the values/variables from $HTTP_POST_VARS
into the session and then U can use 'm again on b.php.
--
* R&zE:
-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: renze@datalink.nl
-- 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
-- ««««««««««««««««««««««««