Accessing POST data

Handling XML requests from PHP involves accessing the raw POST data. This can be done by accessing the $HTTP_RAW_POST_DATA variable, but this depends on having the always_populate_raw_post_data directive enabled in your php.ini. A less memory intensive alternative is php://input, which doesn’t need any special php.ini setting, but it’s not available for multipart/form-data requests.

Reading the . . . → Read More: Accessing POST data

Categories

Archives

Calendar

August 2010
M T W T F S S
« Jul   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031