Re: link variables space problem in netscape
| From: | Dan Lowe | Date: | Tue, 24 Apr 2001 18:47:53 +0000 |
| Subject: | Re: link variables space problem in netscape | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50148@lists.php.net to get a copy of this message | ||
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
> 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
--
Never underestimate the power of stupid people in large groups.
-George Carlin