Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Email validation in php |
|
Author |
|
rajendran
Joined: 04 Mar 2013 Posts: 1 Location: Brampton, Canada
|
Posted: Mon 04 Mar '13 19:41 Post subject: Email validation in php |
|
|
This is the code for validating your email address in php scripting language.
function checkEmail($email){
if(preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0)
{
return true;
}
else
{
return false;
}
}
rajendran |
|
Back to top |
|
|
|
|
|
|