note 51908 added to function.urlencode

From: Date: Thu, 14 Apr 2005 15:52:07 +0000
Subject: note 51908 added to function.urlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-88020@lists.php.net to get a copy of this message
I would recommend the removal of the previous comment ("urlencode" 02-Mar-2005 07:26). urlencode (in PHP4) does not convert ampersands into their hexadecimal equivalent so you have no choice but to run the result of urlencode('jack & jill') through htmlentities() if the result is to be displayed as part of a valid HTML page. ---- Manual Page -- http://www.php.net/manual/en/function.urlencode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51908 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51908&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51908&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51908&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51908&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51908&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51908&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88020) next »