Re: $HTTP_RAW_POST_DATA

From: Date: Sun, 10 Nov 2002 14:45:52 +0000
Subject: Re: $HTTP_RAW_POST_DATA
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-90730@lists.php.net to get a copy of this message
Sunday, November 10, 2002, 3:30:16 PM, Rasmus Lerdorf wrote: > Hrm.. Ok, actually Hartmut changed this recently. See: > > http://cvs.php.net/diff.php/php4/main/php_content_types.c?login=2&r1=1.21&r2=1.22&ty=u > It works when you turn on always_populate_raw_post_data, right? Yes, but then that variable is set even if there is no POST request. This breaks BC as always_populate_raw_post_data defaults to off. It is not the end of the world for me, but it needs to be documented clearly as it will break scripts. Most XML-RPC and SOAP libs I have seen use $HTTP_RAW_POST_DATA to get their XML payload. -- Kjartan <kjartan@zind.net> (http://natrak.net/) :: "A program is a spell cast over a computer, turning input into error messages."

« previous php.dev (#90730) next »