Diff for phpPlatonLib/Credit_Card/Attic/Luhn_Check.php between version 1.2 and 1.3
| version 1.2, 2002/03/30 23:45:50 |
version 1.3, 2002/03/31 20:56:31 |
|
|
| // $Id$ |
// $Id$ |
| |
|
| /** |
/** |
| * Credit_Card_Luhn_Check - Class to validate the credit card number |
* Credit_Card_Luhn_Check - class to validate the credit card number |
| * according to Luhn check algoritmus |
* according to Luhn check algoritmus |
| * |
* |
| * Usage: |
* Usage: |
| Line 72 class Credit_Card_Luhn_Check |
|
| Line 72 class Credit_Card_Luhn_Check |
|
| return $sum % 10 ? false : true; |
return $sum % 10 ? false : true; |
| } |
} |
| } |
} |
| |
|
| ?> |
?> |
Platon Group <platon@platon.org> http://platon.org/
|
|