I got the following code in a script I'm testing, but it seams to not verify all good 
e-mail address as valid.
echo "old email = ".$row[email]."<br>";
if (ereg("^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+" or 
"^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+",$email)){
$email = "none";
} else {
$email = $row[email];
}
echo "new email = ".$email."<br>";

It verifies "[EMAIL PROTECTED]" but not [EMAIL PROTECTED]
it verifies "[EMAIL PROTECTED]" but not [EMAIL PROTECTED]

for a look at the results, check out http://www2.ripcon.net/members/datacopy.php

I'm stumped.  Can someone shed light on this?

Kenneth R Zink II     [EMAIL PROTECTED]    ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!  
http://www.s-series.org/htm/windstorm/project-windstorm.htm
'85 3.4L Carbed Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI DIS !!!  
http://www.s-series.org/htm/firestorm/firestorm.htm
Racing by the Grace of God!!

Reply via email to