Hi,

According to my understanding HTTP_RAW_POST data is populated only if PHP engine did not recognize the encoding of the post data. Since it recognizes www-url-encoded and multipart/form-data pretty well you are not likely to get much use out of it. However you can easily gain access to raw incoming post data in perl. Let me know if you want a sample script i will send it off list.

best regards
raditha



nabil wrote:

It is working But i can not always control php.ini on the host ..!!!
and i tried
ini_set("always_populate_raw_post_data" , "1");

but not working , and i had to chanhe in my local php.ini ...

Please Advice

"Mike Migurski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


I want to get the POSTED data as it is without letting php to parse it.


You may be thinking of $HTTP_RAW_POST_DATA. You should set the
always_populate_raw_post_data config option someplace if you want to use
it reliably, though. See "configuration directives" in the manual.

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html







--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

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



Reply via email to