RE: failure notice

From: Date: Tue, 02 Apr 2002 11:28:56 +0000
Subject: RE: failure notice
Groups: php.db 
Request: Send a blank email to php-db+get-18118@lists.php.net to get a copy of this message
Got a function that migth do both thricks at once (found on PHP.NET: function valid_email($email) { #if (eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,4}$", $email, $check)) if (eregi("^[0-9a-z_]([_\.-]?[0-9a-z])*@[0-9a-z][0-9a-z\.-]*\.[a-z]{2,4}\.?$", $email, $check)) { if ( getmxrr(substr(strstr($check[0], '@'), 1), $validate_email_temp) ) { return TRUE; } } return FALSE; } MVG mary

« previous php.db (#18118) next »