O Oleg Butuzov New member Jan 3, 2003 #1 with regular expresions... allowed chars in email is here RFC 821 somewhare here i post email verification script you can find at this forum if you want...
with regular expresions... allowed chars in email is here RFC 821 somewhare here i post email verification script you can find at this forum if you want...
O Oleg Butuzov New member Jan 3, 2003 #2 one minute sciptig and you get simple mail validator =) this basics, regexp can be dificult =) Code: <? $mail = $HTTP_POST_VARS["mail"]; if (!eregi("[a-z]+@[a-z]+\.[a-z]{2,3}", $mail)) { onError("mail"); exit; } ?>
one minute sciptig and you get simple mail validator =) this basics, regexp can be dificult =) Code: <? $mail = $HTTP_POST_VARS["mail"]; if (!eregi("[a-z]+@[a-z]+\.[a-z]{2,3}", $mail)) { onError("mail"); exit; } ?>