note 9644 deleted from function.urlencode by tularis
| From: | tularis@php.net | Date: | Sun, 19 Dec 2004 09:46:02 +0000 |
| Subject: | note 9644 deleted from function.urlencode by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82029@lists.php.net to get a copy of this message | ||
Note Submitter: st dot n at gmx dot net
----
The documentation above suggests using htmlentities() to quote the
ampersand character. This is overkill and has the problems stated in the
comments to htmlentities() that this function supports only ISO-8859-1.
I think it should be enough to use htmlspecialchars() for that purpose.