This is a reply to an e-mail that you wrote on Tue, 5 Aug 2003 at
23:16, lines prefixed by '>' were originally written by you.
[url]http://uk2.php.net/urlencode[/url]> Is it possible to change the ?, :, & and / characters to their
> hex(?) values automatically? That is without having to use
> str_replace for
> each one? Anyone know how?
If you want *only* the ?:&/ characters changed then it can be done
with a regular rexpression, the e modifier, and the ord(), hex() and
strtoupper() functions, post back if you would like an example.
phpmachine :: The quick and easy to use service providing you with
professionally developed PHP scripts :: [url]http://www.phpmachine.com/[/url]
Free PHP error handling script: [url]www.phpmachine.com/error-handler/[/url]
Professional Web Development by David Nicholson
QuizSender.com - How well do your friends actually know you?