上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 34 下一页
摘要: host = 'localhost'; $this->port = '3306'; $this->user = 'root'; $this->pass = 'root'; $this->db = 'girls'; $this->charset= 'utf8'; //连接数据库 $this->db_connect(); //... 阅读全文
posted @ 2018-03-05 14:43 没事就更 阅读(504) 评论(0) 推荐(0) 编辑
摘要: JS 部分 /* Copyright (C) 2009 - 2012 Email: wangking717@qq.com WebSite: Http://wangking717.javaeye.com/ Author: wangking*/$(function(){ var xOffset = -2 阅读全文
posted @ 2018-02-27 11:21 没事就更 阅读(916) 评论(0) 推荐(0) 编辑
摘要: 环境介绍:我的服务器是阿里云的centos主机,php 7.0.14 1 安装和配置redis 参考方案 点击打开链接 1.1 下载redis 进入软件安装目录 [php] view plain copy cd /usr/local/ [php] view plain copy [php] view 阅读全文
posted @ 2018-02-07 15:51 没事就更 阅读(412) 评论(0) 推荐(0) 编辑
摘要: wget http://101.96.10.64/pecl.php.net/get/redis-3.1.3.tgz tar zxvf redis-3.1.3.tgz cd redis-3.1.3 /usr/local/php7/bin/phpize ./configure --with-php-co 阅读全文
posted @ 2018-02-07 15:27 没事就更 阅读(100) 评论(0) 推荐(0) 编辑
摘要: http://www.laozuo.org/2665.html 阅读全文
posted @ 2018-02-07 11:55 没事就更 阅读(175) 评论(0) 推荐(0) 编辑
摘要: function getCaption(obj){ var index=obj.lastIndexOf("\-"); obj=obj.substring(index+1,obj.length); // console.log(obj); return obj; } var str=" 执法办案流程- 阅读全文
posted @ 2018-01-23 09:32 没事就更 阅读(42445) 评论(0) 推荐(0) 编辑
摘要: ab(apache bench)是apache下的一个工具,主要用于对web站点做压力测试,基础用法: 其中-c选项为一次发送的请求数量,及并发量。-n选项为请求次数。 实验测试: [java] view plain copy [dev@web ~]$ ab -c 20 -n 50000 http: 阅读全文
posted @ 2018-01-17 10:01 没事就更 阅读(167) 评论(0) 推荐(0) 编辑
摘要: include(dirname(__FILE__)."/PHPMailer/function.php"); 阅读全文
posted @ 2018-01-08 15:32 没事就更 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 刚刚在网上看到一个提问. 下面给出我自己的一点方法. 方案1. [php] view plain copy $arr1 = array(1,2,3,4,5); $arr2 = array(6,7,8,9,10); $arr = array(); for($i=0,$len=count($arr1); 阅读全文
posted @ 2018-01-04 14:38 没事就更 阅读(417) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-12-07 10:56 没事就更 阅读(1) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 34 下一页