Search This Blog

Sunday, August 3, 2008

E-mail Validation with PHP

E-mail Validation with PHPWhen you register on at a website, the site normally checks if the e-mail address that you enter is in a valid format. This is done by using what called a Regular Expression. What we need to do is check if a string (eg $email) matches the regular expression:

No comments:

Post a Comment

content-wide advt