Re: Credit card number checker?
| From: | Ashley M. Kirchner | Date: | Mon, 16 Jul 2001 22:59:43 +0000 |
| Subject: | Re: Credit card number checker? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58134@lists.php.net to get a copy of this message | ||
Christopher Ostmo wrote:
> By law, the numbers are supposed to be
> generated at random and not generated by any kind of algorithm or
> formula.
CC# must pass the Luhn MOD 10 formula, so the generated numbers can't be
(totally) random - they have to conform to the formula.
Also, not all credit cards have 16 numbers.
--
H | Hi, I'm currently out of my mind. Please leave a message. BEEEEP!
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley@pcraft.com> .
303.442.6410 x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6
http://www.pcraft.com ..... . . . Boulder, CO 80303,
U.S.A.