View Full Version : validate email with yahoo.com isp

09-02-2006, 08:53 AM
I have this code:

if ( !strcmp($Email,$Email2) && (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4}$", $Email) || db_arr("SELECT ID FROM users WHERE UPPER(email) = UPPER('$Email')")) )

I want validation only for yahoo.com addresses. Regards

09-02-2006, 10:59 AM

I think.. not too good at regex :rolleyes:

09-03-2006, 02:27 AM
mmm why not work?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum