In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I'm having a problem with e-mail addresses entered by users that are
> invalid (i.e. $email == "some person at somewhere.com"). Is there a
> function I could call like:
>
> <?php
>
> if (email_is_valid($email))
> { mail_out_newsletter($email); }
> else
> { yelp_and_whine(); }
>
> ?>
>
> Thanks in advance,
Haven't seen this question for a few days now :-) The mailing list
archives are a valuable resource at
http://marc.theaimsgroup.com/?l=php-general
In particular, for your question, try (allowing for line wrap)
http://marc.theaimsgroup.com/?l=php-
general&w=2&r=1&s=email+address+validation&q=b
Cheers
--
Quod subigo farinam
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php