Login   Register  
PHP Classes
elePHPant
Icontem

CPF/CNPJ Validation: Validation of Brazilian CPF/CNPJ numbers

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

  Author Author  
Picture of André Cupini
Name: André Cupini <e-mail contact>
Packages: 6 Browse all classes by André Cupini Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 32
All time rank: 774 in Brazil Brazil
Week rank: 277 Down18 in Brazil Brazil Down


  Detailed description   Download Download .zip .tar.gz  
This class can perform validation of Brazilian CPF/CNPJ numbers.

It takes a given CPF or CNPJ number, removes any separator characters ( . - / ) and computes the checksum of the remaining digits to determine if the number can be valid.

The class returns true or false depending on whether the number was found to be valid.

In Portuguese:

Esta classe pode validar números de CPF e CNPJ.

A classe pega em um dado CPF ou CNPJ, remove caracteres separadores como . - e /, e calcula a soma dos dígitos restantes para verificar se o número pode ser válido.

A classe retorna verdadeiro ou falso dependendo se o número pode ser válido ou não.

  Classes of André Cupini  >  CPF/CNPJ Validation  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CPF/CNPJ Validation
Base name: cpf_cnpj_validation
Description: Validation of Brazilian CPF/CNPJ numbers
Version: -
PHP version: 3
License: GNU General Public License (GPL)
All time users: 1279 users
All time rank: 2730
Week users: 2 users
Week rank: 1095 Up
Country specific: This package is specific mainly for applications used in Brazil Brazil .
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Finances Money, exchanging, taxes and stocks View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class_VALIDATE.php Class All the functions are here
Accessible without login Plain text file example.php Example Example of as to use the validation functions

Download Download all files: cpf_cnpj_validation.tar.gz cpf_cnpj_validation.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.