[FX.php List] [OFF] Luhn validation for Credit Card?

Jonathan Schwartz jschwartz at exit445.com
Thu Aug 6 19:45:24 MDT 2009


Hey Joel,

I'll email the script  that I use.

J

At 6:19 PM -0700 8/6/09, Joel Shapiro wrote:
>Hi all
>
>I've inherited a project that validates a basic credit card number 
>within FMP using the Luhn algorithm
>
>("The Luhn algorithm or Luhn formula, also known as the "modulus 10" 
>or "mod 10" algorithm, is a simple checksum formula used to validate 
>a variety of identification numbers, such as credit card numbers..."
>http://en.wikipedia.org/wiki/Luhn_algorithm )
>
>I'd rather check this in the PHP before submission to FMP.
>
>Googling brings up many PHP code options, but I wanted to check if 
>anyone here has one that they've used and like.
>
>(Note, in this project the client manually processes all credit card 
>orders after they come into FMP.  They just want to weed out 
>definitely-fake cc #s)
>
>TIA,
>-Joel
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-370-5011


More information about the FX.php_List mailing list