Free web development scripts for the webmasterDevelopment Scripts


 
 Site Navigation
 o Development Scripts
 o Text Only Edition
 o PHP.net News
 o Tutorials
 o Register an account
 o New entries this week
 o Affiliates/Links
 o Contact Us
 o About us
 o Advanced Search

 Browse Path

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/devscripts.net/httpdocs/online.php on line 28
 o  users online
 o Most users online: 67
 o Home
  o PHP
   o Email
    o Script

 Member Login
User Name
Password

 Standards
Valid XHTML 1.0!
Valid 
CSS!

 Recommended Links
 o PHP Freaks
 o Designer Baby Clothes
 o Advertise Here Make Money
 o OxyScripts
 o Wedding Vendor Directory
 o UK Business Franchises
 o Send Invoices for Free
 o designplace
 o Free Online Invoices
 o Free Wedding Websites

Serverside E-Mail Address Validation (Rated 4.5)

Description:

This script will validate an email address to be valid or not. How you deal with either case is entirely up to you!

Code starts here


<?PHP
// Get this email from anywhere, forms etc
$email="someone@somewhere.com";

$regEx = "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$" ;
if (
eregi($regEx, $email))
{
// Email is valid
} else {
// Email Isn't Valid
}
?>


Submitted by Devscripts on 13-02-2003 23:41


Rate This Script

User Contributed Comments

On 06-08-2010 12:21 said:

eVE6Kq quwrxtrldhzi, [url=http://vmznfpdefeea.com/]vmznfpdefeea[/url], [link=http://ipeqdpwimmkl.com/]ipeqdpwimmkl[/link], http://vpdpltojhnsa.com/


On 11-08-2010 3:53 said:

Pryf43 fpwgjiubbeai, [url=http://coofbkcscykq.com/]coofbkcscykq[/url], [link=http://izxjcbkwuasn.com/]izxjcbkwuasn[/link], http://awuorimjdxth.com/


Registered Members login
© Copyright 2003 - Devscripts.net