The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 08:50:37 AM

Login with username, password and session length


Pages: 1 [2]
  Print  
Author Topic: Validate / Identify Credit Card Type  (Read 6234 times)
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 9896



View Profile
« Reply #15 on: May 11, 2009, 12:47:20 PM »

I just implemented it again, and in running my standard sort of regression testing suite it started bombing. So I just took it back apart, because it's a pretty important to my retail applications.

Just glad to have it all sorted out again.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
NYDAz
Expert
****
Offline Offline

Posts: 210


The night stalker


View Profile WWW
« Reply #16 on: May 11, 2009, 01:10:02 PM »

I just implemented it again, and in running my standard sort of regression testing suite it started bombing. So I just took it back apart, because it's a pretty important to my retail applications.

Just glad to have it all sorted out again.
You use this application on websites or do you have a software implemented in shops ?
Logged

I'm an educated fool, with money on my mind !
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 9896



View Profile
« Reply #17 on: May 11, 2009, 01:22:30 PM »

Yes.

Wink

In this particular case, there are retail websites for selling things, then "back office" applications (I call my framework "Spectrum") which manage everything about the businesses, from inventory to marketing, fulfillment to retail website management. All of it is web app, all Ajax and extremely slick. I can honestly, and without arrogance, say that they are in the top tier of all browser-based applications I have ever seen.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
NYDAz
Expert
****
Offline Offline

Posts: 210


The night stalker


View Profile WWW
« Reply #18 on: May 11, 2009, 01:32:30 PM »

May I follow you on twitter ?  ROFLMAO

Good job !  Applause Another point up for my "idal" ! 
Logged

I'm an educated fool, with money on my mind !
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 9896



View Profile
« Reply #19 on: May 11, 2009, 01:55:54 PM »

May I follow you on twitter ?  ROFLMAO

I don't tweet, nor have I ever twat. Interesting model, made moreso by Apple's interest in acquisition, but I really have nothing to do with it.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
NYDAz
Expert
****
Offline Offline

Posts: 210


The night stalker


View Profile WWW
« Reply #20 on: May 11, 2009, 02:03:37 PM »

I don't tweet, nor have I ever twat. Interesting model, made moreso by Apple's interest in acquisition, but I really have nothing to do with it.
Vomit on twitter !

Just to test parasite !
Logged

I'm an educated fool, with money on my mind !
kieran78
n00b
*
Offline Offline

Posts: 1


View Profile
« Reply #21 on: November 04, 2009, 09:04:10 PM »

You can identify the credit card type form the following prefixes and width

'*CARD TYPES       PREFIX           *WIDTH
'American Express  34, 37               15
'Diners Club          300 to 305,         36    14
'Carte Blanche      38                     14
'Discover             6011                  16
'EnRoute             2014, 2149          15
'JCB                   3                       16
'JCB                   2131, 1800          15
'Master Card        51 to 55             16
'Visa                   4 
Logged

No links in signatures please
Pages: 1 [2]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!