Re: Re: [PHP] preprocessing

From: Date: Thu, 17 May 2001 17:54:46 +0000
Subject: Re: Re: [PHP] preprocessing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53291@lists.php.net to get a copy of this message
In that case you may be able to assemble the headers of a get using the header() function. I will look up a few more things for you and get back to you after lunch! :) Nathan Cook ncook@pcsedu.com ----- Original Message ----- From: <pkshifted@slackin.com> To: <security@pcsedu.com> Cc: <php-general@lists.php.net> Sent: Thursday, May 17, 2001 11:51 AM Subject: RE: Re: [PHP] preprocessing > > 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 > >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 > >> > >> > > > -- > 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 > >

« previous php.general (#53291) next »