this would be too easy to get around, just like you can get around printing
your email address on a page in a way that spambots can harvest it.  I'd be
really annoyed too if some form rejected my submission because it thought
I'd put in an email address.  Perhaps in these cases instead of informing
the user, just inform the site administrator to deal with it manually
(reject/edit/approve the user's message).

otherwise, if you have a message like "Sorry but we don't let you put email
address or phone numbers in this form", I'd just put in something like:
email
 @
my domain.com

to get round it.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                
                    Gordon Burns                                                       
                                
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>              
                       
                    quick.net>               cc:                                       
                                
                                             Subject:     [ cf-dev ] Regex             
                                
                    13/11/2003 13:46                                                   
                                
                    Please respond to                                                  
                                
                    dev                                                                
                                
                                                                                       
                                
                                                                                       
                                



I have an application where my client wants to prevent users
putting in either an email or a phone number into a textform field.

This is to ensure that contact is made through the site owner..

Does anyone have to hand a regex that can detect an email in a
stringthat they could share.


Does any have an suggestions about phone numbers I think any string
with more that 5 numerals would be seen as suspicious !  Only UK
numbers are the concern here



TIA for any thoughts.

Gordon


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to