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'])) {
$req = $HTTP_RAW_POST_DATA;
print $req . "\n";
}
What am I doing wrong?