Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42951 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11235 invoked from network); 5 Feb 2009 20:14:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2009 20:14:09 -0000 Authentication-Results: pb1.pair.com header.from=rose.andrew@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rose.andrew@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.134.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rose.andrew@gmail.com X-Host-Fingerprint: 209.85.134.187 mu-out-0910.google.com Received: from [209.85.134.187] ([209.85.134.187:9249] helo=mu-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/F5-16965-0984B894 for ; Thu, 05 Feb 2009 15:14:09 -0500 Received: by mu-out-0910.google.com with SMTP id w1so322829mue.3 for ; Thu, 05 Feb 2009 12:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7eF1jAOY3o0D8sBJmFYjWsZ/afEXeHTGrorqFk1u1c4=; b=TFYlcRVtz/6jDy9aY5hiYbWm5/maIGu693r3otDE6ArJQURfIKxfr40hxNyHhv5mqP sGc7DLRz2Vi0Y40wwqxq0TtraX/HbryYlRDfGkArIdSXKCtWXbPNZxoh/dnqNBgifayq feFpjsia8IKSXZ0fMAYmh4D0Lh2R1JLYnLwjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VbUfk9yiZhueEbRvN08RG5vmZwqEZ8tF/fz7ewa6Ery6zBupE2d2RRMwx7BjhqWa4e XVnGLEQGNFZ6rVSpHVEmpbgY/7aCxqEbdHcpctOPqsTC9ofhwRPfeNAeTHTYJk1VMa7W l+UpWMZ/WPV3iXs6Io5m43/miFsQh2CGbk+1Q= MIME-Version: 1.0 Received: by 10.181.235.14 with SMTP id m14mr292417bkr.28.1233864844569; Thu, 05 Feb 2009 12:14:04 -0800 (PST) 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> Date: Thu, 5 Feb 2009 20:14:03 +0000 Message-ID: To: Terry Braun Cc: =?ISO-8859-1?Q?Johannes_Schl=FCter?= , Kalle Sommer Nielsen , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] adding support for PHP to a web server From: rose.andrew@gmail.com (Andrew Rose) 2009/2/5 Terry Braun : > 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