PHP Data Validator

PHP Data Validator Created by CodeSlinger1. This templates have specific characteristics, namely: 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 .

You can use this PHP Data Validator on Php scripts category for address, data, date, email, file, form, hex, phone, rgb, string, time, url, utf8, validation and another uses.

PHP Data Validator
© Copyright by CodeSlinger1

Main Features:

  • Software framework: None
  • Software version: PHP 5.x, PHP 5.0 – 5.2, PHP 5.3
  • Files included: PHP
  • Compatible browsers: IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome
  • Video preview resolution: None

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(‘abc@foo.com‘);

Validate File Size

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