note 38581 added to function.htmlentities

From: Date: Sun, 28 Dec 2003 15:01:35 +0000
Subject: note 38581 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-62608@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38581 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38581&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38581&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62608) next »