php實(shí)現(xiàn)在線生成條形碼示例分享(條形碼生成器)
更新時(shí)間:2013年12月30日 11:59:40 作者:
php實(shí)現(xiàn)在線生成條形碼,可以做一個(gè)條形碼生成器,大家參考使用吧

復(fù)制代碼 代碼如下:
<?php
define('IN_CB',true);
include('header.php');
$keys = array('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','-','.',' ','$','/','+','%');
$n = $table->numRows();
$table->insertRows($n, 3);
$table->addRowAttribute($n,'class','table_title');
$table->addCellAttribute($n,0,'align','center');
$table->addCellAttribute($n,0,'colspan','2');
$table->setText($n,0,'<font color="#ffffff"><b>Specifics Configs</b></font>');
$table->setText($n+1,0,'Keys');
$text2display = '';
$c = count($keys);
for($i=0;$i<$c;$i++)
$text2display .= '<input type="button" value="'.$keys[$i].'" style="width:25px" onclick="newkey(this.form,\''.$keys[$i].'\')" /> ';
$table->setText($n+1,1,$text2display);
$table->setText($n+2,0,'Explanation');
$table->setText($n+2,1,'<ul style="margin: 0px; padding-left: 25px;"><li>Known also as USS Code 93.</li><li>Code 93 was designed to provide a higher density and data security enhancement to Code39.</li><li>Used primarily by Canadian postal office to encode supplementary delivery information.</li><li>Similar to Code 39, Code 93 has the same 43 characters plus 5 special ones.</li><li>This symbology composed of 2 check digits ("C" and "K").</li></ul>');
$table->draw();
echo '</form>';
include('footer.php');
?>
相關(guān)文章
thinkPHP5框架自定義驗(yàn)證器實(shí)現(xiàn)方法分析
這篇文章主要介紹了thinkPHP5框架自定義驗(yàn)證器實(shí)現(xiàn)方法,結(jié)合實(shí)例形式分析了thinkPHP自定義驗(yàn)證器的具體定義與使用方法,需要的朋友可以參考下2018-06-06使用array_map簡(jiǎn)單搞定PHP刪除文件、刪除目錄
這篇文章主要介紹了使用array_map簡(jiǎn)單搞定PHP刪除文件、刪除目錄的相關(guān)資料,需要的朋友可以參考下2014-10-10Linux下PHP連接Oracle數(shù)據(jù)庫(kù)
PHP連接Oracle是通過(guò)oci8訪問(wèn)的。需要在web服務(wù)器上安裝oracle-instantcilent,使PHP支持Oracle擴(kuò)展包OCI。下面我們來(lái)一步步詳細(xì)介紹下如何使用PHP連接Oracle。2014-08-08php 判斷字符串編碼是utf-8 或gb2312實(shí)例
這篇文章主要介紹了php 判斷字符串編碼是utf-8 或gb2312實(shí)例的相關(guān)資料,需要的朋友可以參考下2016-11-11laravel 數(shù)據(jù)驗(yàn)證規(guī)則詳解
今天小編就為大家分享一篇laravel 數(shù)據(jù)驗(yàn)證規(guī)則詳解,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過(guò)來(lái)看看吧2019-10-10