Re: Function to turn "this that" into "this%20that"?
| From: | Soeren Staun-Pedersen | Date: | Mon, 18 Dec 2000 10:19:21 +0000 |
| Subject: | Re: Function to turn "this that" into "this%20that"? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30849@lists.php.net to get a copy of this message | ||
> Is there a PHP function that generates an escaped URL string, changing all special characters
> in a string that shouldn't appear in URL's into %nn? (I.e. Change : to %2E, space to %20,
> etc.)
>
> I'm sure it's right under my nose, but I couldn't find it.
Try urlencode()
--
Soeren Staun-Pedersen - staun@netwarriors.org
------
"The internet is full, beat it"
- Me.