Changeset 379 for trunk/expressoAdmin1_2/inc/class.functions.inc.php
- Timestamp:
- 07/28/08 17:02:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.functions.inc.php
r355 r379 755 755 "88888888888","99999999999","00000000000"); 756 756 757 /* formato do CPF */ 758 if (!(ereg("^[0-9]{3}[.][0-9]{3}[.][0-9]{3}[-][0-9]{2}$",$cpf))) 759 return false; 760 757 761 /* Retira todos os caracteres que nao sejam 0-9 */ 758 762 $cpf = ereg_replace("[^0-9]", "", $cpf);
Note: See TracChangeset
for help on using the changeset viewer.