Re: simple question
| From: | Chris Lambert - WhiteCrown Networks | Date: | Sun, 08 Jul 2001 14:50:25 +0000 |
| Subject: | Re: simple question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56764@lists.php.net to get a copy of this message | ||
eval("\$string=\"".eregi_replace("([^A-Z])",
"\\x\".dechex(ord(\"\\1\")).\"", $string)."\";");
;-)
/* Chris Lambert, CTO - chris@whitecrown.net
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
----- Original Message -----
From: ReDucTor <sjdtmv@tpg.com.au>
To: <php-general@lists.php.net>
Sent: Sunday, July 08, 2001 10:18 AM
Subject: [PHP] simple question
is there a function to turn all chars that are not alphanumric to show \xhh
but hh being the hex version of it :)?