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 -- htt
p://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.p
hp.net/manage/user-notes.php?action=delete+61589&report=
yes&reason=useless
Delete: non-english -- http://mast
er.php.net/manage/user-notes.php?action=delete+61589&rep
ort=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://ma
ster.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|