|CCVal||Alan Little||--||7124||1999-12-22 07:51:55||[ link ]|
|This function accepts a credit card number and, optionally, a code for a credit card name. If a Name code is specified, the number is checked against card-specific criteria, then validated with the Luhn Mod 10 formula. Otherwise it is only checked against the formula.|
|A Credit Card Validation Solution 5.7||Analysis and Solutions Company||--||9965||2003-05-05 22:49:03||[ link ]|
|A set of open source scripts that ensure credit card information is keyed in correctly. Checks numbers for length, falling within accepted ranges, the Mod 10 / Luhn checksum and that you accept the given type. Tells type based on the number. Expiration date validation is optional. Error messages are internationalized. New languages can be easily added. Works for American Express, Australian BankCard, Carte Blanche, Diners Club, Discover/Novus, JCB, MasterCard and Visa.|
|Credit Card Valid 1.1||Brett Error||5.0||12257||1998-05-15 18:10:21||[ show ]|
|A set of functions to check the validity of a credit card number. ccValidate($number, $type) returns 1 if the account number is valid, zero if not. The $type argument is optional. If included, it will perform additional checking to ensure the card is of the type specified. Valid types include: visa, mastercard, discover, and amex.|
|Ultimate Credit Card Validation Function 1.01||Lew Payne||5.0||5588||2001-01-30 02:29:44||[ show ]|
|This is the ultimate credit card number check routine. It will tell you if the numbers entered for a credit card are feasible. Use this before doing an actual account verification, to save yourself AVS and access fees. Over the years, I\'ve seen many (mostly sloppy) credit card check (LUHN) routines, with a lot of convoluted code and inefficient programming. As a result, I wrote this one in an effort to lay this to rest, once and for all.|
|Creditcard Luhn-Check 1.0||mcmer||--||9546||1999-10-07 06:15:30||[ show ]|
|Function applies the Luhn check (see http://www.beachnet.com/~hstiles/cardtype.html) on passed Credit Card number. Returns true or false.|
|Credit Card Number Validator 1.0||Zak Greant||5.0||13560||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 (firstname.lastname@example.org) and mcmer (email@example.com). 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.