Welcome Guest, Not a member yet? Register   Sign In
how to mask credit card number (using regex?)
#23

[eluser]jdfwarrior[/eluser]
Why show a masked cc # in the first place? It doesn't provide the user with any useful information. Why not just pull the last four digits and say 'I'm charging stuff to the card ending in 1234' as opposed to even dealing with the regular expressions and showing the X's? If you still really wanna do it, as long as its not a terribly inefficient way or doing it (to the point to where the is an obvious performance issue), do whatever way you want. Will the customer be picking through your code to see if they like the way you did it? No.


Messages In This Thread
how to mask credit card number (using regex?) - by El Forum - 11-01-2007, 12:24 AM
how to mask credit card number (using regex?) - by El Forum - 11-01-2007, 12:43 AM
how to mask credit card number (using regex?) - by El Forum - 11-01-2007, 12:54 AM
how to mask credit card number (using regex?) - by El Forum - 11-01-2007, 05:46 PM
how to mask credit card number (using regex?) - by El Forum - 11-01-2007, 07:36 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 08:20 AM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 09:42 AM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 11:13 AM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 12:08 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 12:13 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 12:32 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 12:55 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 01:25 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 01:37 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 01:53 PM
how to mask credit card number (using regex?) - by El Forum - 11-02-2007, 02:35 PM
how to mask credit card number (using regex?) - by El Forum - 11-03-2007, 07:44 AM
how to mask credit card number (using regex?) - by El Forum - 11-03-2007, 12:17 PM
how to mask credit card number (using regex?) - by El Forum - 11-03-2007, 12:44 PM
how to mask credit card number (using regex?) - by El Forum - 11-03-2007, 03:51 PM
how to mask credit card number (using regex?) - by El Forum - 11-03-2007, 06:02 PM
how to mask credit card number (using regex?) - by El Forum - 04-29-2009, 04:09 AM
how to mask credit card number (using regex?) - by El Forum - 04-29-2009, 06:41 AM
how to mask credit card number (using regex?) - by El Forum - 07-23-2009, 11:36 AM
how to mask credit card number (using regex?) - by El Forum - 08-05-2009, 09:37 PM
how to mask credit card number (using regex?) - by El Forum - 06-24-2010, 10:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB