php HTTP_RAW_POST_DATA no value in function
Hi,
When I use HTTP_RAW_POST_DATA in a function - called via a 'required' - I get an error ' undefined variable'. But when I use it in the main php file that is called by a client everything is OK. usage: Code:
if (!empty($GLOBALS['HTTP_RAW_POST_DATA'])) { |
Why not use : $req = $GLOBALS['HTTP_RAW_POST_DATA'];
|
All times are GMT -5. The time now is 03:01 PM. |