note 38581 deleted from function.htmlentities by nlopess
| From: | nlopess@php.net | Date: | Sun, 28 Dec 2003 15:03:49 +0000 |
| Subject: | note 38581 deleted from function.htmlentities by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62609@lists.php.net to get a copy of this message | ||
Note Submitter: sam dot fullman1 at relatebase dot come
----
If this note is at the bottom and you've gotten through to it congratulations! It should be at
the top. Simply, the following characters (0-255) are converted when using the defaults, i.e.,
htmlentities($mystring):
double quote -- chr(34)
ampersand -- chr(38)
brackets (<>) -- chr(60) and chr(62)
AND:
everything from chr(160) and beyond.
Also a tidbit of information: a text input field will NOT handle the submission of newline
characters -- they will get munched. A textarea will, of course.