PHP wrapper around binary CGI app

From: Date: Thu, 07 Nov 2002 01:39:16 +0000
Subject: PHP wrapper around binary CGI app
Groups: php.general 
Request: Send a blank email to php-general+get-123091@lists.php.net to get a copy of this message
I have a binary (non-modifiable) CGI program that does form processing. It gets form data by HTTP POST and outputs the results to Apache. Is there any way to make a PHP wrapper around the program, so that the form data will be submitted to my script, which in turn will send the data to the program and get back the results? In other words, how can I POST to the program without opening an HTTP connection and how do I read the program's output in my script?

« previous php.general (#123091) next »