Re: preprocessing
| From: | Nathan Cook | Date: | Thu, 17 May 2001 17:28:28 +0000 |
| Subject: | Re: preprocessing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53281@lists.php.net to get a copy of this message | ||
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
ncook@pcsedu.com
----- Original Message -----
From: <pkshifted@slackin.com>
To: <php-general@lists.php.net>
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: 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
>
>