note 61590 deleted from function.get-magic-quotes-gpc by danbrown

From: Date: Sun, 20 Jul 2008 00:08:59 +0000
Subject: note 61590 deleted from function.get-magic-quotes-gpc by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141827@lists.php.net to get a copy of this message
Note Submitter: ---- 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 (#141827) next »