wkilc Posted August 22, 2010 Share Posted August 22, 2010 Hi all, I'm using a gateway for CC, when they payment is made and then users are redirected back to my site, I grab the order number and echo it as $info so I can display on the user's receipt. <?php $info=$_POST['OrderNo']; echo "$info"; ?> Is it possible to use PHP to either to automatically (onload) submit a form or somehow write $info to a text file so I can reconcile the books later? I can do the former successfully with JavaScript... but I'd rather make it server-side. Thanks. Quote Link to comment Share on other sites More sharing options...
litebearer Posted August 22, 2010 Share Posted August 22, 2010 http://www.tizag.com/phpT/filewrite.php Quote Link to comment Share on other sites More sharing options...
wkilc Posted August 22, 2010 Author Share Posted August 22, 2010 Perfect. Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.