Re: adding support for PHP to a web server

From: Date: Thu, 05 Feb 2009 20:21:34 +0000
Subject: Re: adding support for PHP to a web server
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-42952@lists.php.net to get a copy of this message
On Thu, 2009-02-05 at 14:59 -0500, Terry Braun wrote: > Thanks to everyone for the help. One last hopefully quick and not too > naive question - can I just exec php and pipe input and output? There is > probably some good reason that is not obvious to me. > terry that's basically what CGI does, while the CGI standard defines some environmental variables you should set (lie QUERY_STRING which will be parsed into PHP's $_GET array) See http://www.w3.org/CGI/ johannes

« previous php.internals (#42952) next »