note 61589 deleted from security.magicquotes by danbrown

From: Date: Fri, 13 Mar 2009 20:30:31 +0000
Subject: note 61589 deleted from security.magicquotes by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-151851@lists.php.net to get a copy of this message
Note Submitter: edward at example dot com ---- All the code listed on this page is not necessary if you use the php_flag directive in a .htaccess file. This allows you to disable magic quotes completely, without the need to adjust your php.ini file or (re)process the user's input. Just take a look at http://www.php.net/manual/en/security.magicquotes.php#55935 Gist of his note: in the .htaccess file, add a line php_flag magic_quotes_gpc off That's it. Thank you very much, richard dot spindler :) !

« previous php.notes (#151851) next »