Re: [PHP] Converting to ASCII HEX

2003-11-27 Thread Ashley M. Kirchner
Duh, why didn't I think of urlencode() ?! I kept looking for something with hex in it, or some string conversion. It never dawned on me...I'm dealing with html stuff and conversion...and url never even came to mind. Must be the turkey (more like, lack thereof...) Hay, thanks everyone. H

Re: [PHP] Converting to ASCII HEX

2003-11-27 Thread Robert Cummings
On Thu, 2003-11-27 at 20:51, 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. urlencode() Cheers, Rob. -- .

Re: [PHP] Converting to ASCII HEX

2003-11-27 Thread John Nichel
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 a

[PHP] Converting to ASCII HEX

2003-11-27 Thread Ashley M. Kirchner
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. -- H| I haven't lost my mind; it's backed up on tape somewhere. +--