Share » Forums » Install & configuration » About magic_quote_gpc

About magic_quote_gpc

About magic_quote_gpc

Monday 22 January 2007 2:08:15 am - 1 reply

Modified on Monday 22 January 2007 2:09:04 am by M B

Author Message

Michael Maclean

Monday 22 January 2007 9:06:55 am

I believe eZ publish is written assuming that magic_quotes_gpc is off, because it is not ever guaranteed to be there. If it is found to be on, eZ will remove the slashes automatically (see line 124 in lib/ezutils/classes/ezsys.php if you're interested). This will cause a performance hit. Magic quotes is generally seen to be a bad idea, in fact it will be removed along with safe mode in PHP6: http://www.corephp.co.uk/archives/19-Prepare-for-PHP-6.html

eZpedia community documentation project | http://ezpedia.org

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu