The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Register_Globals Issue

Discussion in 'General Discussion' started by mohit, Jul 18, 2005.

  1. mohit

    mohit Well-Known Member

    Joined:
    Jul 12, 2005
    Messages:
    553
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sticky On Internet
    Sir,
    any body know how to turn Register_Globals to off in the php.ini file. iam being told that its a vulnerability to the attackers.

    See ya,
     
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    To turn off in php.ini

    /usr/local/lib/php.ini

    Code:
    register_globals        =       Off
    # /etc/init.d/httpd graceful

    To turn off in .htaccess on a case by case basis (turn off globally in php.ini may wreak havoc with clients scripts)

    .htaccess in the /home/$user/www/

    php_flag register_globals "0"
     
Loading...

Share This Page