Re: simple question
| From: | Chris Lambert | Date: | Sun, 08 Jul 2001 16:47:17 +0000 |
| Subject: | Re: simple question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56772@lists.php.net to get a copy of this message | ||
Lowercase letters are included (eregI_replace) but you could add number
support with:
[^A-Z0-9]
______________________________
/ Chris Lambert - cjlambert@home.com
|-> ICQ #: 16435685 - AIM: ClipperChris
`-> Cell: (401) 743-2786 - http://sms.clambert.org/
----- Original Message -----
From: ReDucTor <sjdtmv@tpg.com.au>
To: Chris Lambert - WhiteCrown Networks <chris@whitecrown.net>
Sent: Sunday, July 08, 2001 11:45 AM
Subject: Re: [PHP] simple question
| nice, but i might change it to have lower case and numbers...hehehe
|
| btw thx
| ----- Original Message -----
| From: Chris Lambert - WhiteCrown Networks <chris@whitecrown.net>
| To: <php-general@lists.php.net>
| Sent: Monday, July 09, 2001 12:50 AM
| Subject: Re: [PHP] simple question
|
|
| > 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 :)?
| >
| >
| >
| > --
| > PHP General Mailing List (http://www.php.net/)
| > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
| > For additional commands, e-mail: php-general-help@lists.php.net
| > To contact the list administrators, e-mail: php-list-admin@lists.php.net
| >
|
|