Gossamer Forum
Home : Products : DBMan : Discussions :

Re: UID's containing underscores and dots

Quote Reply
Re: UID's containing underscores and dots In reply to
In sub signup change:

Code:
unless ((length($in{'userid'}) >= 3) and (length($in{'userid'}) <= 12) and ($in{'userid'} =~ /^[a-zA-Z0-9]+$/)) {
to

Code:
unless ((length($in{'userid'}) >= 3) and (length($in{'userid'}) <= 12) and ($in{'userid'} =~ /^[a-zA-Z0-9._]+$/)) {
Using . and _ may cause problems so beware.

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Subject Author Views Date
Thread UID's containing underscores and dots eric74 2659 Jul 9, 2001, 2:59 PM
Post Re: UID's containing underscores and dots
Stealth 2574 Jul 9, 2001, 4:33 PM
Post Re: UID's containing underscores and dots
Paul 2570 Jul 9, 2001, 7:01 PM