home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / barcode_img.php < prev    next >
Encoding:
PHP Script  |  2004-03-24  |  478 b   |  17 lines

  1. <?php
  2.  
  3. require_once("Image/Barcode.php");
  4.  
  5. $num     = '15101967';
  6. $type    = 'int25';
  7. $imgtype = 'png';
  8.  
  9. $num = isset($_REQUEST) && is_array($_REQUEST) && isset($_REQUEST['num']) ? $_REQUEST['num'] : $num;
  10. $type = isset($_REQUEST) && is_array($_REQUEST) && isset($_REQUEST['type']) ? $_REQUEST['type'] : $type;
  11. $imgtype = isset($_REQUEST) && is_array($_REQUEST) && isset($_REQUEST['imgtype']) ? $_REQUEST['imgtype'] : $imgtype;
  12.  
  13. Image_Barcode::draw($num, $type, $imgtype);
  14.  
  15.  
  16. ?>
  17.