note 100987 deleted from function.urlencode by danbrown
| From: | danbrown@php.net | Date: | Fri, 19 Nov 2010 03:54:04 +0000 |
| Subject: | note 100987 deleted from function.urlencode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174169@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
tk's example is broken if one of the values contains '&' or '#'
just use http_build_query() instead.
if you need quotes mangled use
htmlspecialchars on the result with ENT_QUOTES.