Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29206 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69572 invoked by uid 1010); 5 May 2007 08:04:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69557 invoked from network); 5 May 2007 08:04:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2007 08:04:22 -0000 Authentication-Results: pb1.pair.com header.from=dirk@haun-online.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dirk@haun-online.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain haun-online.de designates 80.67.29.8 as permitted sender) X-PHP-List-Original-Sender: dirk@haun-online.de X-Host-Fingerprint: 80.67.29.8 smtprelay08.ispgateway.de Linux 2.4/2.6 Received: from [80.67.29.8] ([80.67.29.8:42316] helo=smtprelay08.ispgateway.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/D2-31728-08A3C364 for ; Sat, 05 May 2007 04:04:18 -0400 Received: (qmail 31545 invoked from network); 5 May 2007 08:04:13 -0000 Received: from unknown (HELO [192.168.0.150]) (050981@[84.161.42.53]) (envelope-sender ) by smtprelay08.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 5 May 2007 08:04:13 -0000 To: "Ilia Alshanetsky" Cc: Date: Sat, 5 May 2007 10:04:08 +0200 Message-ID: <20070505080408.275285226@smtp.haun-online.de> In-Reply-To: References: <20070504201847.547329627@smtp.haun-online.de> X-Mailer: CTM PowerMail version 5.5.3 build 4480 German (PPC) Organization: Terra Software Systems MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two From: dirk@haun-online.de ("Dirk Haun") Ilia Alshanetsky wrote: >Also, have you tried accessing the data from php://input ? Okay, that appears to work. Using this script as the receive.php: I now get ---GOT--- HTTP/1.1 200 OK Date: Sat, 05 May 2007 08:01:49 GMT Server: Apache/1.3.37 (Unix) PHP/5.2.2 X-Powered-By: PHP/5.2.2 Connection: close Content-Type: text/html pingback.ping http://www.example.com/ http://www.example.com/ ---END--- So the raw post data is available via php://input but not via $HTTP_RAW_POST_DATA or $GLOBALS['HTTP_RAW_POST_DATA']. Also, this problem only affects PHP 5.2.2. Things are working fine with PHP 4.4.7. bye, Dirk -- http://www.geeklog.net/ http://geeklog.info/