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.

magic_quotes_gpc

Discussion in 'General Discussion' started by parag joshi, Dec 17, 2008.

  1. parag joshi

    parag joshi Well-Known Member

    Joined:
    Sep 2, 2008
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    0
    Is there a way to set magic_quotes_gpc to off either for one domain/sub-domain or for my entire site?
     
  2. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    For a domain/sub-domain create or add this to the .htaccess file if you are not running SuPhp

    Code:
    php_flag magic_quotes_gpc off
    If running SuPhp make a php.ini file for every folder you need this disable and put in

    Code:
    magic_quotes_gpc = Off
    For serverwide put the this code in your main php.ini file

    Code:
    magic_quotes_gpc = Off
     
Loading...
Similar Threads - magic_quotes_gpc
  1. Giraffex
    Replies:
    8
    Views:
    700

Share This Page