email validation with deprecated eregi() replaced by fiter_var()