|Credit Card Number Validator 1.0||money : credit card number validators||5.0||13494||1999-10-28 16:19:03||[ show ]|
|This function checks the type and validity of a credit card number and returns an associative array. See comments in the code for more information. Note that this function only validates Amex, Mastercard and Visa numbers. The function is based on code by: Brett Error (email@example.com) and mcmer (firstname.lastname@example.org). The method of validation is based on the Luhn check (see http://www.beachnet.com/~hstiles/cardtype.html).|
Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.