Publisher review:Credit card validation routine - Uses the MOD 10 algorythm to determine if a credit card number is valid. validateCC($number[,$type]) Uses the MOD 10 algorythm to determine if a credit card number is valid.$number = credit card account number$type is optional. Setting type to visa, mastercard, discover, or amex will perform additional checking on the account number.The function returns 1 (true) if the CC is valid, 0 (false) if it is invalid, and -1 if the type entered does not match the supported types listed above.
Credit card validation routine is a PHP script for Snippets scripts design by Brett Error.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Operating system:Windows / Linux / BSD / Solaris