Re: Converting to ASCII HEX
| From: | John Nichel | Date: | Fri, 28 Nov 2003 01:59:06 +0000 |
| Subject: | Re: Converting to ASCII HEX | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171239@lists.php.net to get a copy of this message | ||
Ashley M. Kirchner wrote:
How can I convert a string like this: "test & test" into "test%20%26%20test" so I can then pass it to a script? Essentially convert the spaces and & symbol to their ASCII HEX equivalent.http://us3.php.net/manual/en/function.urlencode.php -- By-Tor.com It's all about the Rush http://www.by-tor.com