RE: [PHP] link variables space problem in netscape
| From: | John Huggins | Date: | Tue, 24 Apr 2001 18:44:48 +0000 |
| Subject: | RE: [PHP] link variables space problem in netscape | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50146@lists.php.net to get a copy of this message | ||
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 tells it like it should
be so us it for testing your code along with IE.
John
> -----Original Message-----
> From: Mark Lo [mailto:mark@3dsources.com]
> Sent: Tuesday, April 24, 2001 2:23 PM
> To: *PHP mail list
> Subject: [PHP] link variables space problem in netscape
>
>
> Hi,
>
> I am having a problem in link variables in netscape. etc.
> www.domain.com?xx=1&xxx=2&xxxx=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, it is okay to
> have space
> in link variables.
>
> Thank you
>
>
> Mark
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>