Showing posts with label filter_validate_boolean. Show all posts
Showing posts with label filter_validate_boolean. Show all posts

Saturday, 16 May 2015

PHP Validation Filters - Avoid Security Vulnerabilities

PHP Validation Filters - Avoid Security Vulnerabilities


Data validation is a very important part of working with forms, because invalid data which you cannot directly control may lead to serious security issues.

As of PHP 5.2.0, we can now use filter functions which are enabled by default to make these filter tasks much easy. There is no installation needed to use these functions.

These PHP filters are used to validate and filter data coming from insecure sources, like user input.