WorldWideScripts.net Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Forms

PHP DataValidator - Tool For General Data Checks

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


PHP DataValidator - Tool For General Data Checks - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

Product 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 accepts an array or an object as data container, so it can be easily used to check values got by HTTP request, obtained from database, 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 process 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.

This component may be used

  • For database data validation
  • For check of function parameters or returned values validation
  • For web forms data validation
  • etc.

Product Features

  • 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 separator 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. Optionally cell-phone number can be checked
  • Checks postcode for correct format. Optionally 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

Additional Info:



Download
Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers

Properties

Created:
2 December 12

Last Update:
7 August 14

High Resolution:
No

Compatible Browsers:
IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome

Files Included:
HTML, CSS, PHP

Software Version:
PHP 5.x, PHP 5.0 - 5.2, PHP 5.3

Keywords

eCommerce, All Items, data validation php, form validation php, form validation with php, online php validator, php data validation, php data validator, php form validator, php validator, validation class php