ApPHP company offers you a new version 2.2.0 of ApPHP DataValidator script.

Press release: ApPHP DataValidator free control


ApPHP DataValidator is a simple lightweight tool useful for primary general data checks. It handles numbers, strings, emails, URLs. A range of parameters is provided for a wide variety of different verifications. All parameters are used optionally and could be switched on and off for every specific value. The DataValidator component accepts an array or an object as data container, so it can be easily used to check values got by HTTP request, obtained from data base, parsed XML or CSV file or any other source as soon as data are in correct format (array("key"=>"value")). Error handling is made easy and flexible. If validation fails, you can either obtain a generated error-message or use error-details for logging and user informing in you own style. Data validation is typically used to make sure that incoming data has a certain quality/value. The validation process is running on a server-side. A Short List of Features in this version: * Checks numbers for type (integer, float, numeric), range, special values (null) * Checks hexadecimal numbers * Check float numbers for precision, allows to use comma as decimal separater in numeric numbers * Checks strings for size, pointing and spaces availability * Checks strings with any optional set of meta-characters or a regular expression * Allows to switch unicode support on and off * Checks URL for correct format * Checks e-mail for correct format * Checks SSN for correct format * OneOfSet validation type * Chain of Responsibility pattern * Checks phone number for correct format. Optionaly cell-phone number can be checked * Checks postcode for correct format. Optionaly country-specific postcode can be checked * Checks string or email for confirmation field or value match * Can be stopped after the first validation failure or kept through all values * Returns errors in a convenient way * Works with array of HTTP request as a default data source * Accepts any data source in simple, natural for forms and data-base rows view * Accepts Json as data source * Accepts XML as data source * etc. Supported Browsers: Internet Explorer, FireFox, Chrome, Safari, Opera Who is ApPHP? At Advanced Power of PHP we are working on the creation of free or low-cost, but high quality scripts for either new or existing web-applications. Advanced Power of PHP provides you with excellent service and support. Our policy allows you access to all the source codes of our scripts and lifetime updates for one-time fee, so that you can easily modify and customize them to suit your needs.

Source: http://www.apphp.com/php-datavalidator/index.php