...

View Full Version : undefined index : HTTP_RAW_POST_DATA



sally_bai
05-26-2004, 12:23 PM
Hi,
I hope someone could help me on this.
I have set the following parameters in php.ini
always_populate_raw_post_data and
register_globals to On. However, I still face the
error "Undefined index: HTTP_RAW_POST_DATA"
I am using php version 4.3.6 and apache server 1.3.31.
Thanks,Sally

I have the following coding snippet....
:
:
include('connect.php');
include('convertgeom.php');
$data = $GLOBALS["HTTP_RAW_POST_DATA"];
$thePath= "http://".$SERVER_NAME.$PHP_SELF;
$server="http://".$SERVER_NAME;
:
:

sad69
05-26-2004, 10:40 PM
I've never used or seen this globals array, but I imagine there should be an underscore after the $:


$data = $_GLOBALS["HTTP_RAW_POST_DATA"];


Hope that helps,
Sadiq.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum