1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I just upgraded my web server to Centos 7 and now print_r($_REQUEST); no longer works

Discussion in 'PHP' started by pmf123, Apr 1, 2017.

  1. #1
    I just upgraded my web server to Centos 7 and now this no longer works:

    print_r($_REQUEST);

    But this does

    echo($_REQUEST["name"]);

    it appears it won't let you know the values of _REQUEST without knowing the name of the variable.

    Is this a setting i need to change in PHP.INI or something?

    This worked fine with Centos 5.

    Thanks
     
    pmf123, Apr 1, 2017 IP
  2. manoaratefy

    manoaratefy Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    31
    #2
    Hello! I think that there is no php.ini directives to activate it. Can you check the PHP log ?
     
    manoaratefy, Apr 15, 2017 IP