Forum Moderators: coopster

Message Too Old, No Replies

Php/cgi

         

cremesoda201

9:28 pm on Feb 12, 2007 (gmt 0)

10+ Year Member



I'm working on a PHP page program that posts to a CGI script which verifies payment. The problem is, I don't want people bypassing my CGI program and tricking my page into thinking they've made payment.

In short, is there a way to create a variable in CGI that can be read by PHP or something similar? I'm not familiar with CGI at all. I just need a way to ensure that they have went through my CGI page. Any help is appreciated.

ahmedtheking

10:38 pm on Feb 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Get a return from the CGI form. Have a read up on [uk.php.net...] and [uk2.php.net...] because with these, you can 'post' vars to an application and read up the reply. It's like XMLHTTPRequest but with PHP.