I didn't get a REG_ECTYPE warning but I did get a REG_PAREN type warning. The curly bracket '}' near the '$' should be an close parentheses ')'. :)
-Kevin -----Original Message----- From: Pax [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:33 PM To: [EMAIL PROTECTED] Subject: [PHP] REG_ECTYPE warning and eregi?? Hi All, First I would like to thank you all for help with my previous questions. I am still newbie but I learning and hopefully one day, I will be able to pay it back. I am getting the REG_ECTYPE warning in the following line which verifies email address: If (eregi("^([[:alnum:]]|_|\.|-)+@([[:alnum:]]|\.|-)+(\.)([a-z]{2,4}}$", $HTTP_POST_VARS[email])) { $e=TRUE; } else { $e=FALSE; } ..... Page is being completed and displayed but the warning is being displayed at the top op the page?? Also not matter what type of email I will enter, it does not pass this check point .. I know I must be blind .. Thank you Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php