rj.2001
13-05-2007, 22:10
Hello,
I found a bug in the current php version (5.2.2-1). My php scripts uses the var $HTTP_RAW_POST_DATA, but in this current release the var is everytime empty (the var is normaly set with an SWF-file).
Is there a newer version of PHP avaiable?
I can fix this problem with the following:
if (!isset($HTTP_RAW_POST_DATA)){
$HTTP_RAW_POST_DATA = file_get_contents('php://input');
}
(Insert this code, bevore you ask this var.)
But I would not update any sources... :cool:
Thanks.
I found a bug in the current php version (5.2.2-1). My php scripts uses the var $HTTP_RAW_POST_DATA, but in this current release the var is everytime empty (the var is normaly set with an SWF-file).
Is there a newer version of PHP avaiable?
I can fix this problem with the following:
if (!isset($HTTP_RAW_POST_DATA)){
$HTTP_RAW_POST_DATA = file_get_contents('php://input');
}
(Insert this code, bevore you ask this var.)
But I would not update any sources... :cool:
Thanks.