Re: suggestion
| From: | Trond Arve Nordheim | Date: | Tue, 14 May 2002 14:23:03 +0000 |
| Subject: | Re: suggestion | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-10166@lists.php.net to get a copy of this message | ||
On Tue, May 14, 2002 at 09:41:35AM -0400, Bobby Lawrence wrote:
> Maybe a built-in function that will parse a string into HTTP instead of
> having to go through and replacing each character with its HTTP
> replacement.
> Ex. I have to send variables via a URL...To pass a string effectively,
> I must parse the string, replacing " " with "+"
> , replacing "&" with "%26"
> ,replacing "@" with "%40"
> ,etc....
Check out urlencode() -
http://www.php.net/manual/en/function.urlencode.php
--
Trond Arve Nordheim
- "This message is ROT13-encrypted twice for extra security."