note 61589 added to security.magicquotes

From: Date: Tue, 07 Feb 2006 12:55:19 +0000
Subject: note 61589 added to security.magicquotes
Groups: php.notes 
Request: Send a blank email to php-notes+get-103193@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: 194.109.193.119 Probable Submitter: 82.93.165.208 ---- Manual Page -- http://www.php.net/manual/en/security.magicquotes.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61589 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61589&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61589&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61589&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61589&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61589&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61589&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61589&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61589&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#103193) next »