How do you strip off usernames so that only valid characters([a-z], [0-9],
-, _) are left?

I did this:

RewriteUsername        tr/[A-Z]/[a-z]/
RewriteUsername       tr/0-9|.|[a-z]|-|_//cd;

HOwever, it strips off the dash and underscore from the username:

Thu Apr 13 14:01:46 2000: DEBUG: Rewrote user name to jojo-a
Thu Apr 13 14:01:46 2000: DEBUG: Rewrote user name to jojoa

Please help.  Thanks.


Sincerely, 

Froilan C. Mendoza      
Manager - Systems Management
Tridel Technologies, Inc.
http://www.tridel.net


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to