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.

Er... seriously? magic_quotes_gpc defaults to on?

Discussion in 'General Discussion' started by ritontor, Aug 27, 2010.

  1. ritontor

    ritontor Member

    Joined:
    May 17, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Are you absolutely kidding? magic_quotes_gpc hasn't been in use since, like, the 1920s. Who is the dribbling imbecile who decided that even today, in 2010, that it should *default* to on in cPanel?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In older distributions of PHP, magic_quotes_gpc was actually recommended to be turned on. The thinking behind it is that, since it effectively shields poor programmers from themselves (according to PHP: Why did we use Magic Quotes - Manual), that disabling it once it has been enabled could open unknown security holes on the server.

    The option is deprecated in PHP 5.3.0, and there is an internal case for it to be changed to "Off" by default in the php.ini file provided by cPanel.
     
  3. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Keeping magic_quotes_gpc enabled is much less of a problem than say if register_globals was on by default. If anything it allows portability between cPanel servers still running older versions of PHP (e.g. PHP4).
     
Loading...
Similar Threads - seriously magic_quotes_gpc defaults
  1. Giraffex
    Replies:
    8
    Views:
    699

Share This Page