Page 1 of 1

HTTP_RAW_POST_DATA Empty

Posted: Thu Nov 27, 2008 2:48 am
by drfeelgood
Hi,

I need to capture HTTP_RAW_POST_DATA status for download but its empty.
here is my code:

ini_set("always_populate_raw_post_data","On");
$stat = $HTTP_RAW_POST_DATA;

print $stat;

thanks,

Re: HTTP_RAW_POST_DATA Empty

Posted: Thu Nov 27, 2008 4:59 am
by VladSun
$HTTP_RAW_POST_DATA is not available with enctype="multipart/form-data".

Code: Select all

print_r $HTTP_RAW_POST_DATA;