Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42952 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13964 invoked from network); 5 Feb 2009 20:21:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2009 20:21:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 83.243.58.134 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 83.243.58.134 mailout2.netbeat.de Linux 2.6 Received: from [83.243.58.134] ([83.243.58.134:53108] helo=mailout2.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/86-16965-35A4B894 for ; Thu, 05 Feb 2009 15:21:42 -0500 Received: (qmail 17655 invoked by uid 89); 5 Feb 2009 20:41:04 -0000 Received: from unknown (HELO ?192.168.1.103?) (johannes%schlueters.de@93.104.114.3) by mailout2.netbeat.de with ESMTPA; 5 Feb 2009 20:41:04 -0000 To: Terry Braun Cc: Kalle Sommer Nielsen , internals@lists.php.net In-Reply-To: <498B4525.3050602@talking.com> References: <498B01E6.2010605@talking.com> <2dedb8a0902050808u1c2425c6l69e1379e60b8abb6@mail.gmail.com> <1233851873.8601.28.camel@goldfinger> <498B4525.3050602@talking.com> Content-Type: text/plain Date: Thu, 05 Feb 2009 21:21:34 +0100 Message-ID: <1233865294.8601.45.camel@goldfinger> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] adding support for PHP to a web server From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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