Ensures credit card numbers are keyed in correctly. Includes checks that the length is correct, the first four digits are within accepted ranges, the number passes the Mod 10 Checksum and that you accept that card. Processes American Express, Australian BankCard, Carte Blache, Diners Club, Discover/Novus, JCB, MasterCard and Visa.
This script validates user input. It holds all variables submitted by a form and generates XHTML compliant date and time form elements. Offers a complete email contact form to thwart spammers by adding one line of code.
Use this class to validate your database inputs or mail forms. In the first version it is only possible to validate simple text, numbers (with decimals), (US) dates and email addresses. Invalid form fields will be reported inside a detailed error message. If all form fields are valid you can use the boolean to submit your form.
Formats addresses to US Postal Service standards and generates XHTML state lists.