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);
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = PHP Data Validator
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/php-data-validator/408311″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy PHP Data Validator from the The Developer ( CodeSlinger1 ) website. Thank you.
Download = PHP Data Validator-[Updated].zip