PHP Classes

File: demo.php

Recommend this page to a friend!
  Classes of Roberto Bertó  >  CepCusto - return the value of SEDEX (deprecated)  >  demo.php  >  Download  
File: demo.php
Role: ???
Content type: text/plain
Description: demo of cepcusto
Class: CepCusto - return the value of SEDEX (deprecated)
Old Class, deprecated. Dont use it. Only to learn
Author: By
Last change:
Date: 15 years ago
Size: 274 bytes


Class file image Download

include "cepcusto.php";
$cepcusto = new cepcusto;

#poe o arquivo cepcusto.dat para o array dados
$data = $cepcusto->read_database("cepcusto.dat");

#imprime o valor do cep para o estado do RJ com o cep 20000
print $cepcusto->valor($data,"RJ",20000);