Useful PHP Validation

Validation email

Use the PHP filter_var() is the best practice:

The filter_var() also can be used for validating URL. A full validate filter list is here:  Validate Filters

 

 

Leave a Reply