Jump to content

Lowly non coder looking for help


Gary123321

Recommended Posts

OK I am just a lowly small web-business guy trying to get a little help - hope someone will have mercy.

 

I need to:

 

1) Capture the results coming back off my 2Checkout shopping cart and

2) Email those results to myself.

 

The shopping cart is 2Checkout: they will tell you how to let a customer add additional text info to an order, but they leave you on your own to retrieve it on your site.

 

Is there a way to generically capture all the parameters being fed to a particular web page I designate, and then email them?  ???

 

(Crosses Fingers...)  :)

 

Thanks!

 

 

Link to comment
https://forums.phpfreaks.com/topic/118558-lowly-non-coder-looking-for-help/
Share on other sites

I did get some help, will post here to see if it helps anyone else with the same type question:

 

<?php //display all post and get parameters

 

echo "<h1>Get Parameter/s:</h1>";

echo "<pre>";

if($_GET)

print_r($_GET);

else

echo "There are no get parameters.";

echo "</pre>";

echo "<hr/>";

echo "<h1>Post Parameter/s:</h1>";

echo "<pre>";

if($_POST)

print_r($_POST);

else

echo "There are no post parameters.";

echo "</pre>";

 

?>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.