HTTP_RAW_POST_DATA Empty

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
drfeelgood
Forum Newbie
Posts: 15
Joined: Mon Sep 01, 2008 9:57 pm

HTTP_RAW_POST_DATA Empty

Post 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,
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: HTTP_RAW_POST_DATA Empty

Post by VladSun »

$HTTP_RAW_POST_DATA is not available with enctype="multipart/form-data".

Code: Select all

print_r $HTTP_RAW_POST_DATA;
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply