Web Hosting Talk







View Full Version : Variables/2checkout??


jmc67
06-17-2002, 03:47 PM
When a client makes a purchase, they are sent back to a html page. Now, what I want to do is include in this html file the order number and card holder name. Is this possible? If so, how do I accomplish this?

The html file is a simple thank you page but also want to include the above variables.

a:\
06-17-2002, 04:05 PM
A simple html page won't be able to do it. You will need scripting, either php or cgi or (the ugly) asp.

Look for passback variables on 2checkout's pages.

jmc67
06-17-2002, 04:13 PM
I have 2 variables that I want passed to the thank you page.
How would this be done in PHP?

jmc67
06-18-2002, 10:25 AM
Originally posted by a:\
A simple html page won't be able to do it. You will need scripting, either php or cgi or (the ugly) asp.

Look for passback variables on 2checkout's pages. If I convert the html file to php, how do I add those variables to the page? I want the client to see this info on the thank you page.

The variables in question are:

$order_number
$card_holder_name

a:\
06-18-2002, 10:56 AM
echo($order_number);
echo($card_holder_name);

jmc67
06-18-2002, 11:28 AM
Thank you!! that worked

a:\
06-18-2002, 12:05 PM
You are welcome :)