Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Dash - in the username.

Quote Reply
Dash - in the username.
Does anyone know how to allow a - dash (hyphen) in the username? I've changes a few places to allow it:
($in{'userid'} =~ /^[a-zA-Z0-9_\-.]+$/))
but the username stored in the database turns out to be anything after the dash. For example, test-4 becomes 4.

Subject Author Views Date
Thread Dash - in the username. Katana Man 2547 Aug 30, 2001, 8:20 PM
Post Re: Dash - in the username.
tandat 2404 Sep 5, 2001, 2:38 AM