|
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
>
[Back to original message]
|