> I'm looking for an algorithm or a free PHP Script which enable me
> to verify
> expiration date with a credit card number.
>
> Does anybody knows this ?

It doesn't exist....credit card number alogrithms do not use the expiry date
in their formulas (at least I'm not aware of any that are).  Also there is
no way to actually check if a credit card is valid without using a company
that keeps an online database of active credit cards.  The most you can do
is verify that the number provided could potentially be a credit card...and
even then the expiry date has no algorithm attached to it...as long as it is
past the present date there's no way to consider it invalid without
cross-referencing against a database of active cards.

Sincerely,

Craig Vincent



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to