Re: Credit card validation (Luhn check algorithm)
| From: | Dave Mertens | Date: | Wed, 22 May 2002 13:51:38 +0000 |
| Subject: | Re: Credit card validation (Luhn check algorithm) | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6331@lists.php.net to get a copy of this message | ||
On Wed, May 22, 2002 at 03:38:58PM +0200, Tomas V.V.Cox wrote:
> Dave Mertens wrote:
> > BTW Luhn checks aren't only used for creditcards. But it is the most common
> > use for it..
> >
>
> Weren't some where a Validator class? IMHO that belongs to it. If there
> isn't one, we should start to think on it :-)
I can think of other validation classes, like validation_emailaddress,
Validation_11proof (Dutch banking number validation).
If we're gonna use the validation namespace i will commit my other
validation classes..
--
With best regards,
Dave Mertens, Development Manager
dmertens@ism.nl
Innovative Solutions in Media BV
Schiekade 101
3033 BG Rotterdam, Netherlands
Tel. +31-10-2436060
Fax. +31-10-2436066