Way does this give me this error Warning: REG_EMPTY: in emailusers.php on line 52
$lines = file("data/members.txt"); foreach($lines as $line){ list ($logged_email,$logged_title,$logged_first_name,$logged_last_name) = split("|", $line); if ($logged_email==$email) {print "<center>This email has already been registered.</center>"; exit;} } this is what is in the members.txt file [EMAIL PROTECTED]|Mr.|Richard|Kurth|1046828998|03/04/2003 -- Best regards, Richard mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php