also is you want to add more than one variable in the example given you use
the '&' Sign
ex with one var:
header("Location: http://something.foo.bar.com/page.extension?var1=etc");
ex with 3 vars:
header("Location:
http://something.foo.bar.com/page.extension?var1=etc&var2=123&var3=abc");
----- Original Message -----
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Dean Martin" <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 11:01 AM
Subject: RE: [PHP] Passing variables to another page - newbie
> header("Location: http://something.foo.bar.com/page.extension?var1=etc");
>
> -----Original Message-----
> From: Dean Martin [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, May 06, 2001 1:50 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Passing variables to another page - newbie
>
>
> I have an order form that is validating input, mailing me the results of
the
> form, then I want to pass the user off to either Paypal or Revecom
> (depending on their choice) for processing.
>
> Everything works except trying to pass the variables to the payment
> processor. I thought that
>
> header("location://url?var1=value1?var2=value2") would work but not luck.
>
> Could someone point me in the right direction please?
>
> Thanks,
> Dean Martin
>
>
> --
> 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]
>
>
--
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]