simple function to determine credit card based on number. thanks https://twitter.com/#!/brandonsavage
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
credit_card_helper.php
unit_test.php

README

A simple function to determine what type of credit card is being used based on the card number

I made some attempt to order checks by popularity of the cards & to reduce the number of checks used