You are here: Re: [PHP] rawurldecode « PHP « IT news, forums, messages
Re: [PHP] rawurldecode

Posted by tg-php on 03/29/05 01:04

Could you use parse_url() and just take the [query] section of it, then maybe do an explode on "&" to get the different parts of it?

-TG

= = = Original message = = =

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация