Login   Register  
PHP Classes
elePHPant
Icontem

File: scripts/validate_fns.inc

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dave Hale  >  Login Controller  >  scripts/validate_fns.inc  >  Download  
File: scripts/validate_fns.inc
Role: Auxiliary script
Content type: text/plain
Description: email verify ereg script
Class: Login Controller
Manage registration and authentication of users
Author: By
Last change:
Date: 5 years ago
Size: 175 bytes
 

Contents

Class file image Download
<?php


function valid_email($email)
{
if (
ereg ('^[a-zA-z0-9 \._\-]+@([a-zA-Z0-9][a-zA-z0-9\-]*\.)+[a-zA-Z]+$',$email))
    return 
true;
else
    return 
false;


}

?>