I'm new to CGI but here's the problem I'm having
I wrote a PHP page where a user enters Credit Card relevant information. The data is sent using the POST method to a CGI script (This CGI script is provided to me from the credit card processing company). Now, The CGI script validates information - it does what it is supposed to. Then the CGI script sends back an HTTP response to the browser. To the normal user the page looks blank but the page is full of <input type="hidden"> fields. What I want to do is PARSE these fields so that my own PHP page can report whether the user's credit card was authorized for example.
Note that I cannot modify the CGI script. SO is there a way so that I can "listen" to CGI output and then parse it and display it on the page?
Thanks,
Tom
I wrote a PHP page where a user enters Credit Card relevant information. The data is sent using the POST method to a CGI script (This CGI script is provided to me from the credit card processing company). Now, The CGI script validates information - it does what it is supposed to. Then the CGI script sends back an HTTP response to the browser. To the normal user the page looks blank but the page is full of <input type="hidden"> fields. What I want to do is PARSE these fields so that my own PHP page can report whether the user's credit card was authorized for example.
Note that I cannot modify the CGI script. SO is there a way so that I can "listen" to CGI output and then parse it and display it on the page?
Thanks,
Tom