Gary123321 Posted August 7, 2008 Share Posted August 7, 2008 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 More sharing options...
DarkWater Posted August 7, 2008 Share Posted August 7, 2008 I'm personally not familiar with 2Checkout, but I'm sure it would just be a matter of getting the $_POST data and using the mail() command. Link to comment https://forums.phpfreaks.com/topic/118558-lowly-non-coder-looking-for-help/#findComment-610374 Share on other sites More sharing options...
Gary123321 Posted August 7, 2008 Author Share Posted August 7, 2008 OK thats a start. I'll try to find some sample code that does those things. Link to comment https://forums.phpfreaks.com/topic/118558-lowly-non-coder-looking-for-help/#findComment-610613 Share on other sites More sharing options...
Gary123321 Posted August 7, 2008 Author Share Posted August 7, 2008 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>"; ?> Link to comment https://forums.phpfreaks.com/topic/118558-lowly-non-coder-looking-for-help/#findComment-611147 Share on other sites More sharing options...
MasterACE14 Posted August 7, 2008 Share Posted August 7, 2008 if it shows the results when you have done that. you can use the mail(); function and mail your self the $_GET and $_POST's Link to comment https://forums.phpfreaks.com/topic/118558-lowly-non-coder-looking-for-help/#findComment-611148 Share on other sites More sharing options...
revraz Posted August 8, 2008 Share Posted August 8, 2008 You should really post this in the 3rd party forum or even the Freelance forum. Link to comment https://forums.phpfreaks.com/topic/118558-lowly-non-coder-looking-for-help/#findComment-611264 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.