Accessing request content data?

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
EG
Forum Newbie
Posts: 1
Joined: Fri Jul 12, 2002 2:31 am

Accessing request content data?

Post by EG »

Is there a way to access an HTTP request "raw" content data, in the same maner as you access raw headers with getallheaders?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

it may be in $HTTP_RAW_POST_DATA or $GLOBALS ["HTTP_RAW_POST_DATA"].
But check your php.ini for always_populate_raw_post_data=On
Post Reply