Hi all, 

I am using a Debian server with all stable packages so PHP is version
4.1.2 

I was developing a SyncML server and was using $HTTP_RAW_POST_DATA as a
receiving container for incoming SyncML communication from my Sony
Ericsson T-616. Recently finished writing the WBXML convertor and are
working with the SyncML engine. 

Everything was working fine until i wanted to try to update to PHP5, but
there aren't any officially unstable/experiment PHP5 from Debian. So i got
mine from DotDeb.org. 

Everything worked but then $HTTP_RAW_POST_DATA suddenly is not receiving
any data. I recall reading in the PHP manual that $HTTP_RAW_POST_DATA is
disabled, i enabled it by setting always_populate_raw_post_data = On. It
did not work, so i removed PHP5 and reinstalled the stable version of PHP
which is 4.1.2 

$HTTP_RAW_POST_DATA is still not receiving any data. I looked into PHP
4.1.2's php.ini file and didn't see any parameter setting for
always_populate_raw_post_data which is not surprising since the default
disable is only active after 4.2.0 

I added that line anyway and restarted Apache, still the
$HTTP_RAW_POST_DATA is not working. I know that XML RPC uses this global
variable for parsing XML data as well, so it should be empty. 

Anyone know what is going on and how to fix it? It was working fine before
i upgraded and then it was just broken after that. 

Since $HTTP_RAW_POST_DATA is going to be disabled by default, is there a
better variable to be used for receiving communication data? 

I noticed php://input but that's going to be changed to php://filter, but
i have never tried using that before either. So i have no idea how it
works. 

If anyone can help me reactivate $HTTP_RAW_POST_DATA or find a better way
to grab communication data, please HELP!! 

Thank you in advance 
Regards 
Mian

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to