Re: Decoding a URL without decoding values
| From: | Jason Wong | Date: | Sun, 21 Mar 2004 16:12:20 +0000 |
| Subject: | Re: Decoding a URL without decoding values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181087@lists.php.net to get a copy of this message | ||
On Monday 22 March 2004 00:03, Ben Ramsey wrote:
[snip]
> Is there a way to urldecode() $_GET["url"] and still retain its original
> encoded entities so that I can use it again as a valid URL?
You can base64_encode() it.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
He who laughs last is probably your boss.
*/