Tag Archives: filter_var

PHP validate email addresses

To rapidly, and decently, validate email addresses, we can use something like this: The filter_var() returns the filtered data or FALSE if it fails Read about it, and more filters, here: – function filter_var()