Re: Credit card validation (Luhn check algorithm)

From: Date: Wed, 22 May 2002 21:19:04 +0000
Subject: Re: Credit card validation (Luhn check algorithm)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6344@lists.php.net to get a copy of this message
On Wed, May 22, 2002 at 04:49:26PM +0200, LIMBOURG Arnaud wrote: > The thing is that how often to you need such algorithm like luhn or RC4 on a > standalone basis. Apart from validation ? All classes that do math use some sort of algorithm. That's simple. Buth luhn check is a clear case of a validation algorithm.. Like i tried to explain before, the luhn check is used for more numbers than just creditcard numbers. Sometimes not even related to payments. I know insurance companies that create the insurance number based on the luhncheck. But from a coding standpoint 'require_once("validation/luhncheck.php")' seems more apropiate than 'require_once("algorithm/luhncheck.php")'. That's all. -- 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

« previous php.pear.dev (#6344) next »