If you Google "validate credit card number" you'll come up with a whole list of sources for code examples in various dev tools and languages.

Here's a pretty good explanation in English:
  http://www.beachnet.com/~hstiles/cardtype.html


Phil Davis



Sarah Reichelt wrote:
Sorry no idea how to validate a credit card number ;-)

A good start to this is to check what the first digit is.
If it begins with a 4 it is a VISA card.  If it begins with a 5
it is a MasterCard.


That may be true in the USA but it isn't true in Australia. Here Mastercard start with 5 but Visa can start with 4 or 5


:-)
Sarah

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to