> Two words:
> URL Encode.
Actually, one word: urlencode();
heheheh
Chris
Two words:
URL Encode.
>> Original Message <<
On 4/24/01, 11:23:02 AM, "Mark Lo" <[EMAIL PROTECTED]> wrote regarding
[PHP] link variables space problem in netscape:
> Hi,
> I am having a problem in link variables in netscape. etc.
> www.domain.com?xx=
urlencode() will turn a space into "+". If you want the real full codes
like "%20" you need to use rawurlencode() instead.
http://www.php.net/manual/en/function.rawurlencode.php
-dan
Previously, John Huggins said:
> IE may tolerate it, but you should transpose those spaces into the URL
>
At 02:23 AM 4/25/01 +0800, Mark Lo wrote:
>Hi,
>
> I am having a problem in link variables in netscape. etc.
>www.domain.com?xx=1&xxx=2&=mark lo&xxxee=polol
>
>if the above link contains space, then everyting is faded after the space,
>how to over come this problem in netscape. In IE5,
IE may tolerate it, but you should transpose those spaces into the URL
encoded equiv. I think this is %20 for a space, but check your hex table to
be sure.
Here is your function to do this.
http://www.php.net/manual/en/function.urlencode.php
IE tolerates a lot of slack programming. Netscape
5 matches
Mail list logo