Jump to content

submit form or write to file onload


wkilc

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/211446-submit-form-or-write-to-file-onload/
Share on other sites

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.