Re: adding support for PHP to a web server
| From: | Andrew Rose | Date: | Thu, 05 Feb 2009 20:14:03 +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-42951@lists.php.net to get a copy of this message | ||
2009/2/5 Terry Braun <tab@talking.com>:
> 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
Some reasons would be:
* limited $_SERVER environment
* No $_GET, $_POST, $_REQUEST or $_COOKIE
* headers() will be of no use
* sessions would be a challenge to implement (because there is no
access to headers for cookies)
-
Andrew Rose
http://andrew-rose.blogspot.com