REG_ECTYPE warning and eregi??
| From: | Pax | Date: | Wed, 27 Feb 2002 22:33:05 +0000 |
| Subject: | REG_ECTYPE warning and eregi?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86492@lists.php.net to get a copy of this message | ||
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