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 / Database Abstractions

PHP Data Validator

— Add-On to WorldWideScripts.net

Subscribe to our feed to stay up to date!

New! Follow us as you want it!


PHP Data Validator - CodeCanyon Item for Sale

Ads

Ad: Bluehost hosting

A quick and easy to use utility to validate all sorts of data for your PHP website. All validation methods are static thus dramatically improving validation speed and performance:

Validation Features Include:

  • Is Alphanumeric Value
  • Is Alpha Value
  • Is Upper Case String
  • Is Numeric Value
  • Is Floating Point Value
  • Is Date/Time String
  • Is Email String
  • Is Phone Number String
  • Is UTF8 String
  • Is Social Security Number
  • Is Valid URL
  • Is Valid Existing URL
  • Is a Hex Color Code
  • Is an RGB Color Code
  • Is a Number between 2 numbers
  • Is an array of unique elements
  • Is a valid File
  • Is a file below a max file size below max size

Easy Code Setup and Usage:

Set Up

require ‘DataValidator.php’;

Validate Alpha Numeric String

DataValidator::isAlphaNumeric(‘foobar123’);

Validate Hexadecimal Color Code

DataValidator::isHexColor(’#010101’);

Validate Email Address

DataValidator::isEmail(‘[email protected]‘);

Validate File Size

DataValidator::isBelowMaxFileSize(’./foo.php’, 23);


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

Properties

Created:
27 July 11

Last Update:
N/A

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

Files Included:
PHP

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

Keywords

eCommerce, eCommerce, All Items, address, data, date, email, file, form, hex, phone, rgb, string, time, url, utf8, validation