note 61025 added to function.htmlentities
| From: | php-general at lists dot php dot net | Date: | Tue, 24 Jan 2006 01:20:39 +0000 |
| Subject: | note 61025 added to function.htmlentities | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102318@lists.php.net to get a copy of this message | ||
Please, don't use htmlentities to avoid XSS! Htmlspecialchars is enough!
If you don't specify the encoding, Latin1 will be used, so there is a problem if someone wants
to use your software in a non-English environment.
----
Server IP: 147.32.160.17
Probable Submitter: 83.208.15.133
----
Manual Page -- http://www.php.net/manual/en/function.htmlentities.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61025
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61025&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61025&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61025&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61025&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61025&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61025&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61025&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61025&report=yes
Search -- http://master.php.net/manage/user-notes.php