Posts Tagged by validation
PHP Tutorial: Validating Email Addresses
| April 25, 2012 | Posted by Greg Bulmash under PHP |
When you want to make sure an e-mail address is formatted correctly, a Google search will turn up a number of functions and preg/ereg regular expressions. But one of the easiest ways is to use a PHP function that has been a part of the standard PHP installation since 5.2: filter_var(). It's as simple as:…
Recent Comments