note 45716 added to function.rawurlencode
| From: | AlbertLash at osu1 dot php dot net | Date: | Wed, 15 Sep 2004 23:50:30 +0000 |
| Subject: | note 45716 added to function.rawurlencode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-76804@lists.php.net to get a copy of this message | ||
The note about / and {+} didn't work for me, but a quick adjustment, removing the + made it
work fine. So:
str_replace("/","{}",urlencode($url));
and decode the same way. I also had to replace the &'s in my urls.
Thanks.
----
Manual Page -- http://www.php.net/manual/en/function.rawurlencode.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45716
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45716&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45716&report=yes
Search -- http://master.php.net/manage/user-notes.php