RE: [PHP] link variables space problem in netscape

2001-04-24 Thread Boget, Chris
> Two words: > URL Encode. Actually, one word: urlencode(); heheheh Chris

Re: [PHP] link variables space problem in netscape

2001-04-24 Thread Richard Crawford
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=

Re: [PHP] link variables space problem in netscape

2001-04-24 Thread Dan Lowe
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 >

Re: [PHP] link variables space problem in netscape

2001-04-24 Thread Brian S. Dunworth
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,

RE: [PHP] link variables space problem in netscape

2001-04-24 Thread John Huggins
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