上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 34 下一页
  2017年7月21日
摘要: 重点是这个: 阅读全文
posted @ 2017-07-21 16:43 车车大人 阅读(2220) 评论(0) 推荐(0)
  2017年7月17日
摘要: mysql主从配置。鄙人是在如下环境测试的: 主数据库所在的操作系统:win7 主数据库的版本:5.0 主数据库的ip地址:192.168.1.111 从数据库所在的操作系统:linux 从数据的版本:5.0 从数据库的ip地址:192.168.1.112 介绍完了环境,就聊聊配置步骤: 1、确保主 阅读全文
posted @ 2017-07-17 16:20 车车大人 阅读(276) 评论(0) 推荐(0)
  2017年7月9日
摘要: "; echo "新数组内容是array(3,4,5,8)"; echo "旧的比新的:".print_r(array_diff($old, $new));//被删掉的数据 echo ""; echo "新的比旧的:".print_r(array_diff($new,$old)); echo ""; $a = array_diff($old,array_diff($old, $new));//应... 阅读全文
posted @ 2017-07-09 15:43 车车大人 阅读(213) 评论(0) 推荐(0)
  2017年7月7日
摘要: php等比例缩放图片及剪切图片代码分享 /** * 图片缩放函数(可设置高度固定,宽度固定或者最大宽高,支持gif/jpg/png三种类型) * Author : Specs * * @param string $source_path 源图片 * @param int $target_width 阅读全文
posted @ 2017-07-07 17:38 车车大人 阅读(439) 评论(0) 推荐(0)
摘要: 在很多网站中都会有使用404页面的时候,在ThinkPHP框架中该如何设置呢,接下来我介绍其中一种方法 1、首先要在Lib/Action 下建立EmptyAction.class.php模块 内容如下: 复制代码 代码如下: display('Public:404'); } } ?> 2、做完以上处理,只能在访问到空模块的时候才会访问404页面,所以,为了访问空方法也访问404页面... 阅读全文
posted @ 2017-07-07 17:36 车车大人 阅读(670) 评论(0) 推荐(0)
摘要: 无限级折叠菜单JS版 无限级折叠菜单JavaScript版 菜单_1_1 菜单_2_1 菜单_3_1 菜单_4_1 菜单_5_1 菜单_5_2 菜单_4_2 菜单_5_1 菜单_5_2 菜单_3_2 菜单_4_1 菜单_5_1 ... 阅读全文
posted @ 2017-07-07 17:34 车车大人 阅读(587) 评论(0) 推荐(0)
摘要: <?php class Helper_Spell{ public $spellArray = array(); static public function getArray() { return unserialize(file_get_contents('pytable_without_tune.txt')); } /** * @d... 阅读全文
posted @ 2017-07-07 17:32 车车大人 阅读(6410) 评论(0) 推荐(0)
  2017年7月4日
摘要: js解决方式 php解决方式也是同理!! 阅读全文
posted @ 2017-07-04 14:28 车车大人 阅读(2006) 评论(0) 推荐(0)
  2017年7月3日
摘要: $data = (new \yii\db\Query()) ->select(['user.id','user.username','user.imgs','pet.id as pet_id','pet.pet_name','pet.pet_birth_time','pet.pet_sex','pet.wechat','pet.message','pet.pet_imgs... 阅读全文
posted @ 2017-07-03 13:58 车车大人 阅读(1680) 评论(0) 推荐(1)
  2017年7月2日
摘要: 表单页面 php页面 阅读全文
posted @ 2017-07-02 10:59 车车大人 阅读(583) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 34 下一页