note 59438 deleted from security.magicquotes by philip

From: Date: Thu, 19 Mar 2009 07:34:03 +0000
Subject: note 59438 deleted from security.magicquotes by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-152122@lists.php.net to get a copy of this message
Note Submitter: ---- You should try to avoid magic_quotes in all its flavors, use add_slashes() and strip_slashes() instead with user input and you will save time and avoid common problems that come along. You should know also that if your server has php suexec enabled you won't be able use php_flag in .htaccess file to change php values like magic_quotes or register_globals. In this case you might wanna try creating a php.ini file on the same directory as your script and add something like this: magic_quotes_runtime=off magic_quotes_gpc=off magic_quotes_sybase=off register_globals=on ; only as an example ---- Mel http://www.webhostingjournal.net/

« previous php.notes (#152122) next »