Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    undefined index : HTTP_RAW_POST_DATA

    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;
    :
    :

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've never used or seen this globals array, but I imagine there should be an underscore after the $:
    PHP Code:
    $data $_GLOBALS["HTTP_RAW_POST_DATA"]; 
    Hope that helps,
    Sadiq.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •