Hi,
I am using a third party to process some transactions. The third party then sends information back to my site to store in my database. It can either send back via HTML name = value pairs, or via XML. I wrote a script to capture the HTML values
$myFile = "record.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
foreach($_REQUEST as $name => $value) {
$string = "$name : $value \n";
fwrite($fh, $string);
}
fclose($fh);
I would also like to see what the XML is returning but have never tried to capture XML in this way.
Can anyone give me any tips on this.
Thanks for any help