note 117097 added to filter.examples.sanitization
| From: | Chris | Date: | Tue, 14 Apr 2015 19:42:20 +0000 |
| Subject: | note 117097 added to filter.examples.sanitization | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202265@lists.php.net to get a copy of this message | ||
While it may seem to be good practice to set the defaults in php.ini you should not assume that the
end users server has the same settings as your server. Because of this you should not presume that
default filtering will work out of the box for the end user.
You should ensure that all filters are declared at the site of use regardless of your own default
settings. A move to a new host even for your own personal application may break due to different
settings.
----
Server IP: 72.52.91.14
Probable Submitter: 80.229.222.99
----
Manual Page -- http://php.net/manual/en/filter.examples.sanitization.php
Edit -- https://master.php.net/note/edit/117097
Del: integrated -- https://master.php.net/note/delete/117097/integrated
Del: useless -- https://master.php.net/note/delete/117097/useless
Del: bad code -- https://master.php.net/note/delete/117097/bad+code
Del: spam -- https://master.php.net/note/delete/117097/spam
Del: non-english -- https://master.php.net/note/delete/117097/non-english
Del: in docs -- https://master.php.net/note/delete/117097/in+docs
Del: other reasons-- https://master.php.net/note/delete/117097
Reject -- https://master.php.net/note/reject/117097
Search -- https://master.php.net/manage/user-notes.php