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: 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
[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
;);
- 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
index.php?fruit=applecolor=greenlang=php
If register_globals setting in php.ini configurations is 'on'
then the following should all work :
echo $fruit; // apple
echo $color; // green
echo $lang;// php
echo
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 06, 2001 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Passing variables to another page - newbie
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
Thanks to everyone for the help - unfortunately my problem
seems to be the function I'm using to do the redirecting. header() is
supposed to be the first item passed. What I'm trying to do is use a line
of
code well down into the logic of my script to redirect the user to another
page
Thanks to everyone for the help - unfortunately my problem seems to be the
function I'm using to do the redirecting. header() is supposed to be the
first item passed. What I'm trying to do is use a line of code well down
into the logic of my script to redirect the user to another page along
Previously, Dean Martin said:
Thanks to everyone for the help - unfortunately my problem seems to be the
function I'm using to do the redirecting. header() is supposed to be the
first item passed. What I'm trying to do is use a line of code well down
into the logic of my script to redirect
9 matches
Mail list logo