A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 6: Plug-in 36 - Validate Email

Quite often people will make mistakes when entering their email address into a web form. This is also another common area where some users just enter rubbish to see what happens. To catch these things you can use this plug-in to at least check whether the format of an email address supplied to you is valid.

The Figure shows one email addres that validates, and another that doesn't.