Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread Dirk Haun
David Coallier wrote: Anyone has an answer/tests to that bug* so we can stop this discussion ? :) The bug has apparently been fixed in CVS. Haven't had a chance to test it, but will do as soon as possible. Now the question is: When can we expect an update? I see people talking about what

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread Ilia Alshanetsky
On 7-May-07, at 2:35 PM, Dirk Haun wrote: David Coallier wrote: Anyone has an answer/tests to that bug* so we can stop this discussion ? :) The bug has apparently been fixed in CVS. Haven't had a chance to test it, but will do as soon as possible. Please let me know how it works out.

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread Dirk Haun
Ilia Alshanetsky wrote: The bug has apparently been fixed in CVS. Haven't had a chance to test it, but will do as soon as possible. Please let me know how it works out. I've tested php5.2-200705071830.tar.gz from snaps.php.net and the bug seems to be fixed. Thanks. One interesting feature

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread Rasmus Lerdorf
Ilia Alshanetsky wrote: On 7-May-07, at 2:35 PM, Dirk Haun wrote: David Coallier wrote: Anyone has an answer/tests to that bug* so we can stop this discussion ? :) The bug has apparently been fixed in CVS. Haven't had a chance to test it, but will do as soon as possible. Please let

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread Ilia Alshanetsky
On 7-May-07, at 4:00 PM, Rasmus Lerdorf wrote: I must have missed something. Did you change the documented behaviour that $_SERVER['HTTP_RAW_POST_DATA'] is populated when PHP encounters an unknown content type? If so, that was most definitely not a bug and not something that should have

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread Rasmus Lerdorf
Ilia Alshanetsky wrote: On 7-May-07, at 4:00 PM, Rasmus Lerdorf wrote: I must have missed something. Did you change the documented behaviour that $_SERVER['HTTP_RAW_POST_DATA'] is populated when PHP encounters an unknown content type? If so, that was most definitely not a bug and not

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-07 Thread Richard Lynch
On Mon, May 7, 2007 2:30 pm, Dirk Haun wrote: Ilia Alshanetsky wrote: I sure hope those nifty Web 2.0 sites don't use SOAP and XML-RPC but rather JSON or REST. Okay, but XML-RPC is used for Pingbacks, Trackbacks, and for pinging weblog directories like Technorati. That's something like the

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-05 Thread 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: ?php echo (file_get_contents(php://input)); ? I now get ---GOT--- HTTP/1.1 200 OK Date: Sat, 05 May 2007 08:01:49 GMT Server: Apache/1.3.37

[PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-04 Thread Dirk Haun
I believe this is a bug in PHP 5.2.2. I've tried to report this for PHP 5.2.2RC2 but apparently wasn't making myself clear or wasn't following the proper procedures ... Anyway, as I wrote before[1], raw POST data isn't making it through in PHP 5.2.2 which results in XML-RPC communications to

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-04 Thread Ilia Alshanetsky
Is your always_populate_raw_post_data enabled? Also, have you tried accessing the data from php://input ? On 4-May-07, at 4:18 PM, Dirk Haun wrote: I believe this is a bug in PHP 5.2.2. I've tried to report this for PHP 5.2.2RC2 but apparently wasn't making myself clear or wasn't

Re: [PHP-DEV] Bug? Raw POST data in PHP 5.2.2, take two

2007-05-04 Thread Dirk Haun
Ilia Alshanetsky wrote: Is your always_populate_raw_post_data enabled? Yes: ; Always populate the $HTTP_RAW_POST_DATA variable. always_populate_raw_post_data = On As I already said: On or Off doesn't seem to make a difference. Also, have you tried accessing the data from php://input ? I