Re: magic quotes

From: Date: Tue, 17 Jul 2007 11:25:14 +0000
Subject: Re: magic quotes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-258985@lists.php.net to get a copy of this message
What do people on this list usually do with this kind of problem. To me, the .htaccess seems the easiest solution, since I don't have to change any scripts.
Use a .htaccess file, or if performance is any sort of concern, put it in the server configuration files and turn off .htaccess files. Failing that you could do it in the script with your stripslashes_array() function, but you should only do it when you need to. eg. There's no point using it on $_COOKIE if you're not using $_COOKIE. -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support

« previous php.general (#258985) next »