Re: pass-thru post variables?
| From: | jayakumar | Date: | Tue, 08 Apr 2003 11:18:32 +0000 |
| Subject: | Re: pass-thru post variables? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142833@lists.php.net to get a copy of this message | ||
You assign/copy the $_POST array to some array in Page"B" and push the
additional key values in to it and submit (POST )the key value pairs to the
Page"C" (by sending the correcpoding headers to the site containing the
page"C" ) through the php script in the page "B" this way you will be
submiting the values to the page "B" but in turn it will sumit the values to
the page"C" in a hidden manner.if u want more info do contact me.
Jayakumar.g
----- Original Message -----
From: Robert Dyke <robert@montanasoft.com>
Newsgroups: php.general
To: < >
Sent: Tuesday, April 08, 2003 10:43 AM
Subject: Re: [PHP] pass-thru post variables?
> Hi Burhan:
>
> I don't believe that session variables will work, because the "Script C"
is on an
> entirely different URL, which is out of my control (it's the paypal
server).
>
> Do you know anything about cURL?
>
> Thanks.
>
>
> Robert Dyke
> Montana Software
> http://www.montanasoft.com/
> robert@montanasoft.com
>
> * For best results, please include the text of this message (cut and paste
if
> necessary) in your reply *
>
>
>
>
> ----- Original Message -----
> From: "Burhan Khalid" <phplist@meidomus.com>
> To: "Robert Dyke" <robert@montanasoft.com>
> Sent: Monday, April 07, 2003 11:07 PM
> Subject: Re: [PHP] pass-thru post variables?
>
>
> > On Mon, 2003-04-07 at 23:18, Robert Dyke wrote:
> >
> > > I've got html page "A," Which posts some variables to php page
> > > "B."
I'd
> > > like PHP page "B" to process those variables, create some additional
> > > variables, and post the whole bunch to PayPal CGI Script "C".
> > >
> > > I'd like this PHP script to operate seemlessly, so that the user feels
like
> > > they are going straight from Html page "A" to PayPal CGI script
> > > "C".
> > >
> > > Also, I don't want to put the variables up in the URL ... I want to
use the
> > > post method.
> >
> > Another option is to use session variables.
> >
> > The form suggestion is nice, except anyone that can view source will be
> > able to see what you are passing, and you might not want that. Also, it
> > won't work if javascript is disabled.
> >
> > --
> > Burhan Khalid
> > phplist[at]meidomus[dot]com
> >
>