php实现在线生成条形码示例分享(条形码生成器)
2015-01-24信息快讯网
php实现在线生成条形码,可以做一个条形码生成器,大家参考使用吧
<?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'); ?>
PHP生成等比缩略图类和自定义函数分享
PHP使用DOMDocument类生成HTML实例(包含常见标签元素)
PHP内置过滤器FILTER使用实例
PHP生成图片验证码、点击切换实例
PHP生成随机密码类分享
PHP基于GD库的缩略图生成代码(支持jpg,gif,png格式)
php-perl哈希算法实现(times33哈希算法)
md5 16位二进制与32位字符串相互转换示例
浅谈PHP变量作用域以及地址引用问题
一个好用的PHP验证码类实例分享
PHP连接SQLServer2005方法及代码
php截取中文字符串不乱码的方法
php输入流php://input使用示例(php发送图片流到服务器)
使用gd库实现php服务端图片裁剪和生成缩略图功能分享
php生成缩略图填充白边(等比缩略图方案)
生成随机字符串和验证码的类的PHP实例
php生成excel列序号代码实例
CodeIgniter生成网站sitemap地图的方法
php生成EAN_13标准条形码实例