Show
Ignore:
Timestamp:
01/29/2008 01:48:29 PM (11 months ago)
Author:
Geert
Message:

Valid helper updates:

  • email_rfc() does not allow final newlines anymore
  • Made a lot of regexes possessive to avoid useless backtracking
  • Credit card length is now checked in a more solid and "future compatible" way
  • Some explanatory comments added to the credit_cards config file
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/config/credit_cards.php

    r1809 r1865  
    22/** 
    33 * Credit card validation configuration. 
     4 *  
     5 * Options for each credit card: 
     6 *  length - All the allowed card number lengths, in a comma separated string 
     7 *  prefix - The digits the card needs to start with, in regex format 
     8 *  luhn   - Enable or disable card number validation by the Luhn algorithm 
    49 */ 
    510$config = array