当前位置: 移动技术网 > IT编程>开发语言>PHP > php实现在线生成条形码示例分享(条形码生成器)

php实现在线生成条形码示例分享(条形码生成器)

2019年06月04日  | 移动技术网IT编程  | 我要评论


复制代码 代码如下:

                 <?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');
?>

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网