Online Shopping : Computers : Programming : Languages : PHP : Common Problems : HTTP Headers

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

41 of 52 people (79%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

Which alternatives are there for using $http_raw_post_data?

Feb 4th, 2005 00:17
Michael Phipps, stef guth, http://www.php.net/manual/en/wrappers.php.php


php://input allows you to read raw POST data. It is a less memory 
intensive alternative to $HTTP_RAW_POST_DATA and does not need any 
special php.ini directives. 
Example use:
$httprawpostdata = file_get_contents("php://input");
Try it - it works!