What is it called when you have explictly declare the name of parameters

Discussion in 'Site & Server Administration' started by ferret77, Apr 8, 2006.

  1. #1
    What is it called when you have explictly declare the name of parameters, that passed thru the url

    like when $thiscount is equal to nothing unless you add

    $thiscount = $_GET['thiscount'] ;

    And how do you turn it off thru WHM?, I know its supposed to be better etc, but I have to move a bunch fo sites , many of which are not mine, and I don't really want to guess which ones don't have this programmed into them.

    ok found it registed globals, now how to turn it on

    ok you can override it in the htaccess , with php_flag register_globals on

    problem solved
     
    ferret77, Apr 8, 2006 IP
  2. TheHoff

    TheHoff Peon

    Messages:
    1,530
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You have to do it in the php.ini and then restart the apache daemon.
     
    TheHoff, Apr 8, 2006 IP
  3. GeorgeB.

    GeorgeB. Notable Member

    Messages:
    5,695
    Likes Received:
    288
    Best Answers:
    0
    Trophy Points:
    280
    #3
    edit.... nevermind you got it.

    All you need to do is do it in .htaccess

    No need to tinker with php.ini

    - GB
     
    GeorgeB., Apr 8, 2006 IP