Hi

I have this simple code that rejects certain
characters :

        if (ereg('([/[EMAIL PROTECTED]&*-_()|:;<>?"])', $name))
        {
                echo 'not allowed';
        }

Trouble is that it also rejects the dot or period (.)
yet the dot is not included in the class above  

What can be added to that criteria to make it *allow*
the dot?  Would appreciate your help.  

David



                
___________________________________________________________ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

Reply via email to