I'm implementing a simple credit card number check on my website, in order
to trap user errors. it doesn't validate with the bank, but validates
against certain known rules (e.g. Amex always begins with xxxx)
The scripts I've found work fine for Mastercard, Visa, Diner's Club and a
few American only cards, but there's nothing on Google about European/UK
cards like Solo, Switch and Maestro.
Anyone aware of European oriented PHP credit card validation scripts?
Thanks.
to trap user errors. it doesn't validate with the bank, but validates
against certain known rules (e.g. Amex always begins with xxxx)
The scripts I've found work fine for Mastercard, Visa, Diner's Club and a
few American only cards, but there's nothing on Google about European/UK
cards like Solo, Switch and Maestro.
Anyone aware of European oriented PHP credit card validation scripts?
Thanks.