Re: rawurldecode

From: Date: Tue, 29 Mar 2005 14:11:29 +0000
Subject: Re: rawurldecode
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211780@lists.php.net to get a copy of this message
I have been playing around with the varialbe that I am sending here and I have found that this function is actually working correctly. Spaces an punctuation decode properly, but an amperstand seems to be where my ploblem is. I know its a very weird character to be using, but it is a valid character in a filename so I must acount for it. Has anyone previously dealt with this and might be able to give me a quick work around? Thanks "Aaron Todd" <aaloki88@hotmail.com> wrote in message news:20050328213332.61613.qmail@lists.php.net... >I am trying to use the rawurldecode() function to decode a variable that is >begin passed from a different page through the url. The PHP manual doesnt >say much for this function, but it does have quite a bit on the urldecode() >function which says using urldecode on a $_GET variable wont produce the >desired results. Is there another way to decode a url variable? Or maybe >a better way to get a variable from one page to another so I can use it. >The variable may contain all types of characters, but mainly a space(%20) >is the biggest problem. > > If anyone has some kind of workaround for this please let me know. > > Thanks

« previous php.general (#211780) next »