note 61590 added to function.get-magic-quotes-gpc

From: Date: Tue, 07 Feb 2006 12:56:38 +0000
Subject: note 61590 added to function.get-magic-quotes-gpc
Groups: php.notes 
Request: Send a blank email to php-notes+get-103194@lists.php.net to get a copy of this message
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 :) ! ---- Server IP: 64.246.30.37 Probable Submitter: 82.93.165.208 ---- Manual Page -- http://www.php.net/manual/en/function.get-magic-quotes-gpc.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61590 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61590&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61590&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61590&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61590&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61590&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61590&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61590&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61590&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#103194) next »