You are here: Re: urlencode and $_GET « PHP Programming Language « IT news, forums, messages
Re: urlencode and $_GET

Posted by meltedown on 11/17/05 15:09

Erwin Moller wrote:
> meltedown wrote:
>
> Hi,
>
>
>>urlencode turns # into %23
>
>
> Yes.
>
>
>>When I sent it thru $_GET, it dissapears, along with anything that comes
>>after it.
>
>
> What does that mean?
> "sending through $_GET" ???
> Do you mean you use some URL?
>
> You do not send anything through $_GET, you use $_GET to retrieve values
> encoded in GET.

And how does it get there- you send it there. So you are sending it
throught $_GET
>
>
>>for example:
>>urlencode turns
>>HOYDM_EXC_#4_NAT
>>into HOYDM_EXC_%234_NAT
>>
>
>
> yes.
>
>
>>When I use it in an url
>>index.php?id=HOYDM_EXC_%234_NAT
>>
>>$_GET[id]=HOYDM_EXC_
>>
>>Am I doing something wrong ?
>
>
> Yes.
>
> If you want the value of 'id' from the URL (GET) use:
>
> $bla = $_GET["id"];

Yes of course I know that- I'm not talking about getting the value from
$_GET. I am saying that the value of $_GET is equal to "HOYDM_EXC_". Its
obvious what I meant. The point is, the end of the string is missing.
Do you now whether this is a common problem ?
>
> Regards,
> Erwin Moller
>

 

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

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