PHP Classes

File: README.txt

Recommend this page to a friend!
  Classes of Chara Miteo   ApPHP Data Validator   README.txt   Download  
File: README.txt
Role: Documentation
Content type: text/plain
Description: ReadMe
Class: ApPHP Data Validator
Validate sets of values in different ways
Author: By
Last change:
Date: 11 years ago
Size: 2,756 bytes


Class file image Download
//////////////////////////////////////////////////////////////////////////////// // // Advanced Power of PHP // --------------------- // // // ApPHP DataValidator Basic // // Version: 1.0.1 // //////////////////////////////////////////////////////////////////////////////// Thank you for using software! -------------------------------------------------------------------------------- It's very easy to get started with ApPHP DataValidator!!! Installation: or docs/Installation.html Getting Started: or docs/GettingStarted.html For more information visit: site forum 1. DESCRIPTION -------------------------------------------------------------------------------- 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 excepts 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. 2. MAIN FEATURES -------------------------------------------------------------------------------- - Checks numbers for type, range, special values (null) - Checks strings for size, pointing and spaces availability - Checks URL for correct format - Checks e-mail for correct format - 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 - Excepts any data source in simple, natural for forms and data-base rows view 3. FILE STRUCTURE -------------------------------------------------------------------------------- - docs/ -- ChangeLog.txt -- GettingStarted.html -- Installation.html - license/ -- GNU License.txt - examples/ -- example_array.php -- example_array_code.php -- example_array_script.php -- example_form.php -- example_form_simple.php -- index.php - validator.class.php - index.html - readme.txt - install.txt