Re: magic_quotes_gpc on by default??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



itsa homeserver, so i recon it was ubuntu.. buncha lamers :)


On Mon, Feb 1, 2010 at 7:51 PM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>wrote:

>  On Mon, 2010-02-01 at 19:44 +0100, Rene Veerman wrote:
>
> I've just wasted a few hours by trying to find a bug in my code that
> messed up my JSON-passed-on-$_GET.
> I'm using fopen() so please no nagging about putting JSON in $_POST..
>
> I finally found the answer; in my distro's /etc/php5/apache2/php.ini,
> magic_quotes_gpc is ON.
> I'd like to know why, since it's being depracted anyway:
> http://nl.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc
>
> I'm on
> PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan  6
> 2010 22:41:56)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>
>
>
> Either Ubuntu is turning it on by default, your ISP has turned it on
> (assuming it's not your own server), or someone else has turned it on at
> some point.
>
>   Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux