note 24971 deleted from function.urlencode by tularis

From: Date: Sun, 19 Dec 2004 09:43:45 +0000
Subject: note 24971 deleted from function.urlencode by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-82022@lists.php.net to get a copy of this message
Note Submitter: chris at cwcomputerservices dot co dot uk ---- 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.

« previous php.notes (#82022) next »