如何通过手机网页sae版查询php excel通用成绩系统长尾词?
- 内容介绍
- 文章标签
- 相关推荐
本文共计1365个文字,预计阅读时间需要6分钟。
1. 文件:index.php
4KB 下载 (29)
1.[文件] index.php~4KB 下载(29)
<?php include "inc/conn.php";?><?php include "inc/excel.php";?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="www.w3.org/1999/xhtml"> <head> <meta aiyaha.taobao.com/" target="_blank">技术支持</a> <a href="<?php echo $copyu;?>" target="_blank"><?php echo $copyr;?></a></span> </div> </div> </body> </html>
2.[文件] conn.php~5KB 下载(24)
<?php error_reporting(0); header("content-Type: text/html; charset=UTF-8"); //输出编码GBK //设置好以下三项查询条件,得都输入 $tiaojian1="姓名"; //查询条件1列标题,跟excel列头一致,注意无空格; $UpDir="shujukufangzheli"; //设置数据库所在目录(文件夹名称)请修改,修改后更名对应文件夹。 $title="某某中学成绩查询系统"; //设置查询标题,相信你懂的。 $copyr="某某中学"; //设置底部版权文字,相信你懂的。 $copyu="www.96448.cn/"; //设置底部版权连接,相信你懂的。 /* // 「SAE」免费注册地址:t.cn/R4QorPE (免费空间,免费二级域名,免备案) // ************************* // 作者主页:12391.net // 作者邮箱:admin@ewuyi.net // 作者网店:aiyaha.taobao.com/ // 本店宝贝导航 // 成绩工资水电费通用查询系统解决方案: // 方案3(荐):微信公众号一对一绑定才可以查询工资、成绩、水电费等 // 自助开通试用:add.96cha.com/ // 代码购买:item.taobao.com/item.htm?id=44248394675 // 整体服务:item.taobao.com/item.htm?id=528187132312 // 方案2(荐):用户在线登录查询工资成绩水电费等,可自助修改密码 // 自助开通试用:add.dbcha.com/ // 代码购买:item.taobao.com/item.htm?id=43193387085 // 整体服务:item.taobao.com/item.htm?id=528108807297 // 方案1:直接通过设定的(1-3个)查询条件查询 // 自助开通试用:add.12391.net/ (免费) // 代码购买:item.taobao.com/item.htm?id=528692002051 // 整体服务:item.taobao.com/item.htm?id=520023732507 // 成绩工资水电费通用查询系统其他方案: // asp无需后台版(12款): item.taobao.com/item.htm?id=45703415332 // PHP无需后台版(12款):item.taobao.com/item.htm?id=45808268273 // PHP多级下拉版(8款):item.taobao.com/item.htm?id=43263796985 // 公众号回复简易版: item.taobao.com/item.htm?id=520496908275 // 公众号回复后台简易版即时开通体验: new.12391.net // 模糊查询系统解决方案(超过8款): // item.taobao.com/item.htm?id=520167788658 // 网店发货查询系统后台导入通用版网页版加微信自动回复机器人查询 // 即时开通试用:add.mabida.cn:1111/ // 整体服务:item.taobao.com/item.htm?id=528166721835 // 源码购买:item.taobao.com/item.htm?id=44194950836 // 农产品质量溯源查询系统 二维码防伪查询微信防伪查询 // 即时开通试用:add.mabida.cn/ // 整体服务:item.taobao.com/item.htm?id=43525422046 // 源码购买:item.taobao.com/item.htm?id=43525422046 // #####以上无需修改但有用注意查看哦###### */ $filephp=".xls"; //数据库文件后缀不要修改 function charaget($data){ if(!empty($data) ){ $fileType = mb_detect_encoding($data , array('UTF-8','GBK','LATIN1','BIG5')) ; if( $fileType != 'UTF-8'){ $data = mb_convert_encoding($data ,'utf-8' , $fileType); } } return $data; } // 方案1:直接通过设定的(1-3个)查询条件查询 // 自助开通试用:add.12391.net/ // 代码购买:item.taobao.com/item.htm?id=528692002051 // 整体服务:item.taobao.com/item.htm?id=520023732507 function characet($data){ if(!empty($data) ){ $fileType = mb_detect_encoding($data , array('UTF-8','GBK','LATIN1','BIG5')) ; if( $fileType != 'GBK'){ $data = mb_convert_encoding($data ,'GBK' , $fileType); } } return $data; } function webalert($Key){ $html="<script>\r\n"; $html.="alert('".$Key."');\r\n"; $html.="history.go(-1);\r\n"; $html.="</script>"; exit($html); } function traverse($path = '.',$filephp) { $current_dir = opendir($path); //opendir()返回一个目录句柄,失败返回false while(($file = readdir($current_dir)) !== false) { //readdir()返回打开目录句柄中的一个条目 $sub_dir = $path . DIRECTORY_SEPARATOR . $file; //构建子目录路径 if($file == '.' || $file == '..') { //continue; } else if(is_dir($sub_dir)) { //如果是目录,进行递归 //echo 'Directory ' . $file . ':<br>'; //traverse($sub_dir); } else { //如果是文件,直接输出 // echo 'File in Directory ' . $path . ': ' . $file . '<br>'; $file = str_replace($filephp,"",$file); //文件名除了后缀,不要包含.php echo '<option value="'.charaget($file).'">' . charaget($file) . '</option>'; } } } function fileline1($path = '.') { $data = new Spreadsheet_Excel_Reader(); $data->setOutputEncoding('UTF-8'); $data->read($path); for ($j = 1; $j <= $data->sheets[0]['numCols']; $j++) { $str .= ''.$data->sheets[0]['cells']['1'][$j].''; } $str = iconv('UTF-8', 'GB2312', $str); return $str; } function get_file_line( $file_name, $line ){ $n = 0; $handle = fopen($file_name,'r'); if ($handle) { while (!feof($handle)) { ++$n; $out = fgets($handle, 4096); if($line==$n) break; } fclose($handle); } if( $line==$n) return $out; return false; } ?>
3.[文件] excel.php~56KB 下载(28)
4.[文件] code.php~1KB 下载(24)
<?php session_start(); getCode(4,50,20); function getCode($num,$w,$h) { $code = ""; for ($i = 0; $i < $num; $i++) { $code .= rand(0, 9); } //4位验证码也可以用rand(1000,9999)直接生成 //将生成的验证码写入session,备验证页面使用 $_SESSION['PHP_M2T'] = $code; setcookie("mimi", md5($code), time()+1200); //创建图片,定义颜色值 Header("Content-type: image/PNG"); $im = imagecreate($w, $h); $black = imagecolorallocate($im, 255, 0, 63); $gray = imagecolorallocate($im, 200, 200, 200); $bgcolor = imagecolorallocate($im, 255, 255, 255); imagefill($im, 0, 0, $bgcolor); //画边框 //imagerectangle($im, 0, 0, $w-1, $h-1, $black); //在画布上随机生成大量黑点,起干扰作用; for ($i = 0; $i < 10; $i++) { imagesetpixel($im, rand(0, $w), rand(0, $h), $black); } //将数字随机显示在画布上,字符的水平间距和位置都按一定波动范围随机生成 $strx = rand(1,3); for ($i = 0; $i < $num; $i++) { $strpos = rand(2, 6); imagestring($im, 5, $strx, $strpos, substr($code, $i, 1), $black); $strx += rand(8, 12); } imagepng($im); imagedestroy($im); } ?>
本文共计1365个文字,预计阅读时间需要6分钟。
1. 文件:index.php
4KB 下载 (29)
1.[文件] index.php~4KB 下载(29)
<?php include "inc/conn.php";?><?php include "inc/excel.php";?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="www.w3.org/1999/xhtml"> <head> <meta aiyaha.taobao.com/" target="_blank">技术支持</a> <a href="<?php echo $copyu;?>" target="_blank"><?php echo $copyr;?></a></span> </div> </div> </body> </html>
2.[文件] conn.php~5KB 下载(24)
<?php error_reporting(0); header("content-Type: text/html; charset=UTF-8"); //输出编码GBK //设置好以下三项查询条件,得都输入 $tiaojian1="姓名"; //查询条件1列标题,跟excel列头一致,注意无空格; $UpDir="shujukufangzheli"; //设置数据库所在目录(文件夹名称)请修改,修改后更名对应文件夹。 $title="某某中学成绩查询系统"; //设置查询标题,相信你懂的。 $copyr="某某中学"; //设置底部版权文字,相信你懂的。 $copyu="www.96448.cn/"; //设置底部版权连接,相信你懂的。 /* // 「SAE」免费注册地址:t.cn/R4QorPE (免费空间,免费二级域名,免备案) // ************************* // 作者主页:12391.net // 作者邮箱:admin@ewuyi.net // 作者网店:aiyaha.taobao.com/ // 本店宝贝导航 // 成绩工资水电费通用查询系统解决方案: // 方案3(荐):微信公众号一对一绑定才可以查询工资、成绩、水电费等 // 自助开通试用:add.96cha.com/ // 代码购买:item.taobao.com/item.htm?id=44248394675 // 整体服务:item.taobao.com/item.htm?id=528187132312 // 方案2(荐):用户在线登录查询工资成绩水电费等,可自助修改密码 // 自助开通试用:add.dbcha.com/ // 代码购买:item.taobao.com/item.htm?id=43193387085 // 整体服务:item.taobao.com/item.htm?id=528108807297 // 方案1:直接通过设定的(1-3个)查询条件查询 // 自助开通试用:add.12391.net/ (免费) // 代码购买:item.taobao.com/item.htm?id=528692002051 // 整体服务:item.taobao.com/item.htm?id=520023732507 // 成绩工资水电费通用查询系统其他方案: // asp无需后台版(12款): item.taobao.com/item.htm?id=45703415332 // PHP无需后台版(12款):item.taobao.com/item.htm?id=45808268273 // PHP多级下拉版(8款):item.taobao.com/item.htm?id=43263796985 // 公众号回复简易版: item.taobao.com/item.htm?id=520496908275 // 公众号回复后台简易版即时开通体验: new.12391.net // 模糊查询系统解决方案(超过8款): // item.taobao.com/item.htm?id=520167788658 // 网店发货查询系统后台导入通用版网页版加微信自动回复机器人查询 // 即时开通试用:add.mabida.cn:1111/ // 整体服务:item.taobao.com/item.htm?id=528166721835 // 源码购买:item.taobao.com/item.htm?id=44194950836 // 农产品质量溯源查询系统 二维码防伪查询微信防伪查询 // 即时开通试用:add.mabida.cn/ // 整体服务:item.taobao.com/item.htm?id=43525422046 // 源码购买:item.taobao.com/item.htm?id=43525422046 // #####以上无需修改但有用注意查看哦###### */ $filephp=".xls"; //数据库文件后缀不要修改 function charaget($data){ if(!empty($data) ){ $fileType = mb_detect_encoding($data , array('UTF-8','GBK','LATIN1','BIG5')) ; if( $fileType != 'UTF-8'){ $data = mb_convert_encoding($data ,'utf-8' , $fileType); } } return $data; } // 方案1:直接通过设定的(1-3个)查询条件查询 // 自助开通试用:add.12391.net/ // 代码购买:item.taobao.com/item.htm?id=528692002051 // 整体服务:item.taobao.com/item.htm?id=520023732507 function characet($data){ if(!empty($data) ){ $fileType = mb_detect_encoding($data , array('UTF-8','GBK','LATIN1','BIG5')) ; if( $fileType != 'GBK'){ $data = mb_convert_encoding($data ,'GBK' , $fileType); } } return $data; } function webalert($Key){ $html="<script>\r\n"; $html.="alert('".$Key."');\r\n"; $html.="history.go(-1);\r\n"; $html.="</script>"; exit($html); } function traverse($path = '.',$filephp) { $current_dir = opendir($path); //opendir()返回一个目录句柄,失败返回false while(($file = readdir($current_dir)) !== false) { //readdir()返回打开目录句柄中的一个条目 $sub_dir = $path . DIRECTORY_SEPARATOR . $file; //构建子目录路径 if($file == '.' || $file == '..') { //continue; } else if(is_dir($sub_dir)) { //如果是目录,进行递归 //echo 'Directory ' . $file . ':<br>'; //traverse($sub_dir); } else { //如果是文件,直接输出 // echo 'File in Directory ' . $path . ': ' . $file . '<br>'; $file = str_replace($filephp,"",$file); //文件名除了后缀,不要包含.php echo '<option value="'.charaget($file).'">' . charaget($file) . '</option>'; } } } function fileline1($path = '.') { $data = new Spreadsheet_Excel_Reader(); $data->setOutputEncoding('UTF-8'); $data->read($path); for ($j = 1; $j <= $data->sheets[0]['numCols']; $j++) { $str .= ''.$data->sheets[0]['cells']['1'][$j].''; } $str = iconv('UTF-8', 'GB2312', $str); return $str; } function get_file_line( $file_name, $line ){ $n = 0; $handle = fopen($file_name,'r'); if ($handle) { while (!feof($handle)) { ++$n; $out = fgets($handle, 4096); if($line==$n) break; } fclose($handle); } if( $line==$n) return $out; return false; } ?>
3.[文件] excel.php~56KB 下载(28)
4.[文件] code.php~1KB 下载(24)
<?php session_start(); getCode(4,50,20); function getCode($num,$w,$h) { $code = ""; for ($i = 0; $i < $num; $i++) { $code .= rand(0, 9); } //4位验证码也可以用rand(1000,9999)直接生成 //将生成的验证码写入session,备验证页面使用 $_SESSION['PHP_M2T'] = $code; setcookie("mimi", md5($code), time()+1200); //创建图片,定义颜色值 Header("Content-type: image/PNG"); $im = imagecreate($w, $h); $black = imagecolorallocate($im, 255, 0, 63); $gray = imagecolorallocate($im, 200, 200, 200); $bgcolor = imagecolorallocate($im, 255, 255, 255); imagefill($im, 0, 0, $bgcolor); //画边框 //imagerectangle($im, 0, 0, $w-1, $h-1, $black); //在画布上随机生成大量黑点,起干扰作用; for ($i = 0; $i < 10; $i++) { imagesetpixel($im, rand(0, $w), rand(0, $h), $black); } //将数字随机显示在画布上,字符的水平间距和位置都按一定波动范围随机生成 $strx = rand(1,3); for ($i = 0; $i < $num; $i++) { $strpos = rand(2, 6); imagestring($im, 5, $strx, $strpos, substr($code, $i, 1), $black); $strx += rand(8, 12); } imagepng($im); imagedestroy($im); } ?>

