note 24971 added to function.urlencode

From: Date: Fri, 06 Sep 2002 11:22:19 +0000
Subject: note 24971 added to function.urlencode
Groups: php.notes 
Request: Send a blank email to php-notes+get-36237@lists.php.net to get a copy of this message
To encode a '+' (plus) symbol so it ends up as '+' when decoded automatically by PHP, you have to do this: rawurlencode(rawurlencode("+")); If you just call rawurlencode() once, the resulting "%2B" is converted to '+' before '+' symbols are converted to spaces, which is not very useful. -- http://www.php.net/manual/en/function.urlencode.php http://master.php.net/manage/user-notes.php?action=edit+24971 http://master.php.net/manage/user-notes.php?action=delete+24971 http://master.php.net/manage/user-notes.php?action=reject+24971

« previous php.notes (#36237) next »