From: anansi Date: 2007-04-28T05:10:06+09:00 Subject: Re: [QUIZ] Checking Credit Cards (#122) James Edward Gray II wrote: > On Apr 27, 2007, at 12:58 PM, Matthew Moss wrote: >> So is a card number like "4012 3456 7890" a valid Unknown, or an >> invalid Visa? > > Visa Invalid > > Always match the type first. > Nope thats no Visa number but a unknown one. Visa Cards have a certain length (13 or 16) and if that length doesn't fit (Matthew's number here had just 12 digits)it's unknown :) otherwise the length would be obsolete don't you think? Both length and startingbytes have equal weight in the decision wether a card belongs to a known Company or not. -- greets ( ) ( /\ .-"""-. /\ //\\/ ,,, \//\\ |/\| ,;;;;;, |/\| //\\\;-"""-;///\\ // \/ . \/ \\ (| ,-_| \ | / |_-, |) //`__\.-.-./__`\\ // /.-(() ())-.\ \\ (\ |) '---' (| /) ` (| |) ` jgs \) (/ one must still have chaos in oneself to be able to give birth to a dancing star