Login   Register  
PHP Classes
elePHPant
Icontem

File: teste.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Glauber Portella Ornelas de Melo  >  Bar Code  >  teste.php  >  Download  
File: teste.php
Role: Example script
Content type: text/plain
Description: A teste of the class
Class: Bar Code
Generate bar codes of type 2 of 5
Author: By
Last change:
Date: 9 years ago
Size: 579 bytes
 

Contents

Class file image Download
<?php
include_once("class.barcode.php");

$valor = isset($_POST['valor']) ? $_POST['valor'] : "34191183400000292011090000107160253500375000"// Valor Inicial

$barcode = new BarCode($valor);
$barcode->drawBarCode();
?>
</p>
<form name="form1" method="post" action="">
  <font face="Arial, Helvetica, sans-serif" size="2"><b>Digite o valor do c&oacute;digo
  de barras:</b></font><br>
  <input type="text" name="valor" maxlength="50" size="50" value="<?php echo $valor ?>">
  <input type="submit" name="Submit" value="Gerar C&oacute;digo de Barrar">
</form>
<br>
</body>
</html>