Login   Register  
PHP Classes
elePHPant
Icontem

while the coding may be fine, the class makes use of ereg fun...

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      class_cnpj  >  All threads  >  while the coding may be fine, the class makes use of ereg fun...  >  (Un) Subscribe thread alerts  
Subject:while the coding may be fine, the class makes use of ereg fun...
Summary:Package rating comment
Messages:1
Author:Paul Rosenberg
Date:2012-12-07 23:32:34
 

Paul Rosenberg rated this package as follows:

Utility: Bad
Consistency: Insufficient

  1. while the coding may be fine, the class makes use of ereg fun...   Reply   Report abuse  
Picture of Paul Rosenberg
Paul Rosenberg
2012-12-07 23:32:34
while the coding may be fine, the class makes use of ereg functions which have been deprecated.

more importantly, i do NOT believe that this class accurately validates a CNPJ number as it accepted 8 digits as well as other numbers that do not meet the validation requirements w regards to the check digits.