Thread
:
PHP experts how would you do this?
View Single Post
03-08-2004, 09:40 PM
Azathoth
Confirmed User
Join Date: Nov 2002
Location: Blah
Posts: 217
PHP experts how would you do this?
In perl say you did this:
$username =~ tr/[0-9a-zA-Z_\-]//csd;
( This would strip all but alphanumeric chars and _ and - chars )
What would be the equivelant in PHP? I can't seem to find one
- Az
Azathoth
View Public Profile
Visit Azathoth's homepage!
Find More Posts by Azathoth