This is a fairly solid suggestion, and it may be what I have to do. But, 
unfortunately, Page C is expecting a POST, not a GET, which may make it not work. 
Also, I would like to avoid this if possible due to some of the sensitive information 
that will be being passed to and fro. Even if it will be done using SSL.

>Try going to the page with the vars you need in the URL.  i.e.:
>http://www.www.com/cgi-bin/script?var1=test&var2=testing
>If that works then just use a simple header location forward in script 'b':
>// process vars....
>header("LOCATION:http://www.www.com/cgi-bin/script?var1=test&var2=testing";);
>That way the user will never have to interact with page 'b'.  Note: do not start
>any output before the header command.
>If that doesn't work then there should be some other way of assembling cgi-post
>headers with the header() function.
>Good Luck.
>Nathan Cook
>[EMAIL PROTECTED]
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, May 17, 2001 11:18 AM
>Subject: [PHP] preprocessing
>>
>> I have what I feel to be a strange problem (I'm most likely wrong here).
>> I have page A, which is an internal page, which posts to page C which is
>external (belongs to another company). What I would like is to insert a
>preprocessing script (let's call it page b). So, the end result would be, users
>input data to page a, page a then posts to page b, page b processes all
>variables etc and then posts to page c. I don't want the customer, to ever
>really have to interact with page b. Is that possible?
>> If there is a command to do this, which I must've missed, that would really be
>all I need ;)
>>
>> Louis G
>>
>> --
>> 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 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]

Reply via email to