摘要: tp5生命周期: 入口文件-》引导文件-》注册自动加载-》 注册错误和异常机制-》应用初始化-》url访问检测-》 路由检测-》分发请求-》响应输出-》应用结束 入口文件: 文件名:index.php 位置:public/index.php; 用户通过入口文件,发送服务请求,是整个应用的入口和起点 阅读全文
posted @ 2017-11-09 11:14 Harry- 阅读(1252) 评论(0) 推荐(0) 编辑
摘要: \r\n\r\n\r\n\r\n"; $str .="".$titlename.""; $str .= $title; foreach ($datas as $key=> $rt ) { $str .= ""; foreach ( $rt as $k => $v ) { $s... 阅读全文
posted @ 2017-09-28 16:59 Harry- 阅读(210) 评论(0) 推荐(0) 编辑
摘要: function download_img_all(){ //图片数组 $res = [ [ 'img_path'=>'a.png', ], [ 'img_path'=>'b.png', ] ]; //创建压缩包的路径 $filename = $_SERVER['D... 阅读全文
posted @ 2017-09-28 16:58 Harry- 阅读(250) 评论(0) 推荐(0) 编辑
摘要: = 1 && $fchar = -20319 && $asc = -20283 && $asc = -19775 && $asc = -19218 && $asc = -18710 && $asc = -18526 && $asc = -18239 && $asc = -17922 && $asc = -17417 && $asc = -16474 && $asc = -16212 && $as... 阅读全文
posted @ 2017-09-28 16:57 Harry- 阅读(332) 评论(0) 推荐(0) 编辑
摘要: function sousuo($page){ var URL=''; if($page){ URL='__URL__/index/usercenter/selectorder?page='+$page; }else { URL='__URL__/index/u... 阅读全文
posted @ 2017-09-14 14:58 Harry- 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 1 CONTENT_TYPE = { 2 .load':'text/html', 3 .123':'application/vnd.lotus-1-2-3', 4 .3ds':'image/x-3ds', 5 .3g2':'video/3gpp', 6 .3ga':'video/3gpp', 7 .3gp':'video/3gpp', 8 .3gpp... 阅读全文
posted @ 2017-09-14 14:36 Harry- 阅读(8824) 评论(0) 推荐(0) 编辑
摘要: function added(){ var data = JSON.parse(localStorage.getItem('yaop')); var yao_name = $('.yao_name').html(); var yao_cd = $('.yao_cd').html(); var yao_cl = $('.yao_cl').html(); var yao... 阅读全文
posted @ 2017-09-13 19:48 Harry- 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 加入数据库函数 查询单个首字母 CREATE DEFINER=`root`@`localhost` FUNCTION `fristPinyin`(P_NAME VARCHAR(255)) RETURNS varchar(255) CHARSET utf8BEGIN DECLARE V_RETURN 阅读全文
posted @ 2017-09-13 19:41 Harry- 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 购物车 商品名称 商品价格 商品数量 商品操作 中裤衩 ¥300 100 减 1 ... 阅读全文
posted @ 2017-09-05 19:50 Harry- 阅读(975) 评论(0) 推荐(0) 编辑
摘要: <!doctype html><html><head><meta charset="utf-8"><title>购物车</title><script src="./jquery-3.1.1.min.js"></script></head><table width="200" border="1"> 阅读全文
posted @ 2017-09-05 19:48 Harry- 阅读(397) 评论(0) 推荐(0) 编辑