Page 1 of 1

regarding php validations script

Posted: Wed Jan 21, 2009 10:58 pm
by raksab
hi guys
i need php valdiations for the following things
i have little bit idea about them

phone number with areacode
mobile number
gender
email
password and confirm password


with regards
theboss 8)

Re: regarding php validations script

Posted: Wed Jan 21, 2009 11:08 pm
by Burrito
are you asking for help on how to accomplish this or asking someone to do it for you? If the latter, please post in volunteer work or job hunt.

Re: regarding php validations script

Posted: Thu Jan 22, 2009 3:10 am
by amitshah
Here is the basic email validation.

Code: Select all

if(eregi("^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$]", $email)) 
   {
      return FALSE;
   }
Check below link for phone number validation with areacode.
http://www.coderemix.com/tutorials/php- ... validation

Rest you can do by yourself..