摘要: <?php//验证码function ucode($length=4,$mode=1,$type='png',$width=48,$height=22) { $randval = rand(1000,9999); $_SESSION['IMGCODE']= $randval; $width = ($length*9+10)>$width?$length*9+10:$width; if ( $type!='gif' && function_exists('imagecreatetruecolor')) { 阅读全文
posted @ 2013-03-20 17:50 欧麦噶地 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 define ( "php_VERSION", "5.2.3" ); 3 function Pinyin($_String, $_Code = 'gb2312') { 4 $_DataKey = "a|ai|an|ang|ao|ba|bai|ban|bang|bao|bei|ben|beng|bi|bian|biao|bie|bin|bing|bo|bu|ca|cai|can|cang|cao|ce|ceng|cha" . "|chai|chan|chang|chao|che|che 阅读全文
posted @ 2013-03-20 17:38 欧麦噶地 阅读(1352) 评论(0) 推荐(0) 编辑
摘要: php ci框架使用qeephp框架的acl实现权限验证 阅读全文
posted @ 2013-03-20 16:30 欧麦噶地 阅读(1887) 评论(0) 推荐(0) 编辑