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.

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:
    1
    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:
    16
    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