Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 02-08-2005, 05:41 PM Edit on IPB
Experienced Talker

Posts: 46
Trades: 0
Wsup everyone, i got a board going and i have members signing up using non-alpha characters... for example i had someone sign up using *Dazed* how can i set the board to not allow characters such as *'s on the board?
__________________

Please login or register to view this content. Registration is FREE
- Got a problem? Let us help!
----------------------------
streek is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-09-2005, 05:09 PM
WebcyteDesign's Avatar
Registered User

Posts: 159
Location: Hamilton
Trades: 0
when they signup use a regular expression to validate like:

regex = "[a-zA-Z]*"

this will only match for characters A-Z both upper and lower case. If there isn't a match then the username is wrong.
WebcyteDesign is offline
Reply With Quote
View Public Profile Visit WebcyteDesign's homepage!
 
Reply     « Reply to Edit on IPB
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48961 seconds with 12 queries