note 9644 added to urlencode

From: Date: Thu, 16 Nov 2000 15:12:25 +0000
Subject: note 9644 added to urlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-7783@lists.php.net to get a copy of this message
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. http://www.php.net/manual/function.urlencode.php

« previous php.notes (#7783) next »