LUHN Algorithm – Validate credit card – in PHP

Posted by Jiltin     Tags: , , 8 November, 2008    628 views    (0) Comment

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 and Canadian Social Insurance Numbers. The formula verifies a number against its included check digit, which is usually appended to a partial account number to generate the full account number. This account number must pass the following test: 1. Counting from Read Full Article (Click here)...

Categories : Web & Scripts Tags : , ,