Posted by: ranacse05 on: April 27, 2008
I was working a new project where any ppl can join if they have a valid e-mail address.So i have to chk the e-mail address.Then i just found this function below.
function check_email_address($email)
{
// First, we check that there’s one @ symbol, and that the lengths are right
if (!ereg(“^[^@]{1,64}@[^@]{1,255}$”, $email))
{
// Email invalid because [...]
Recent Comments