Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

enabling register_globals for for one site..

Discussion in 'General Discussion' started by okihost, Apr 28, 2003.

  1. okihost

    okihost Registered

    Joined:
    Mar 31, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    What is the easiest way to enable register_globals = on for one site?

    I have tried a few things and have had no luck yet wondering if you guys can help me..
    thanks in advance.
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    166
    make and .htaccess file in the root of their site. It only needs one line, but I can't remember which one.... I think both of these will work. You could also put the line of code in httpd.conf in their VirtualHost.

    php_flag register_globals on

    php_value register_globals 0
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice