Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 56
Member
Member
Offline
Joined: Jan 2000
Posts: 56
I am using the following code in my sign up sub to disallow a member from using a number in their name, along with other stuff.


if (($UserName =~ m/^s/) || ($UserName =~ m/ /) || ($UserName =~ m/s$/) || ($UserName =~ m/s{2,}/) || ($UserName =~ m/|!/) || ($UserName =~ m/||/) || ($UserName =~ m/|$/) || ($UserName =~ m/^|/) || ($UserName =~ m/"/) || ($Email =~ m/s/) || ($UserName =~ m/>|

and this works fine when a member signs up with say Rob123. But if he signs up as Rob123Rob then it goes through.

Any ideas on what to add to the above to not allow any number to be used in a member sign up?

Thanks,
Parker

This message has been edited by Parker Clack on January 03, 2001 at 03:02 AM

Sponsored Links
Entire Thread
Subject Posted By Posted
Striping information on sign up question. Parker Clack 01/03/2001 11:01 AM
Re: Striping information on sign up question. Dave_L 01/03/2001 1:18 PM
Re: Striping information on sign up question. Mark Badolato 01/03/2001 4:32 PM
Re: Striping information on sign up question. Parker Clack 01/04/2001 1:10 AM
Re: Striping information on sign up question. Parker Clack 01/04/2001 4:38 PM
Re: Striping information on sign up question. Parker Clack 01/08/2001 2:29 AM
Re: Striping information on sign up question. The Team 01/08/2001 4:04 AM
Re: Striping information on sign up question. Greg Hard 01/08/2001 4:07 AM
Re: Striping information on sign up question. Parker Clack 01/08/2001 3:49 PM
Re: Striping information on sign up question. Parker Clack 01/08/2001 4:30 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,956
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2278
Topics Created 0
Posts Made 0
Users Online 2
Birthdays 24
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
isaac 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261016)