摘要:
host = 'localhost'; $this->port = '3306'; $this->user = 'root'; $this->pass = 'root'; $this->db = 'girls'; $this->charset= 'utf8'; //连接数据库 $this->db_connect(); //... 阅读全文
摘要:
JS 部分 /* Copyright (C) 2009 - 2012 Email: wangking717@qq.com WebSite: Http://wangking717.javaeye.com/ Author: wangking*/$(function(){ var xOffset = -2 阅读全文
摘要:
环境介绍:我的服务器是阿里云的centos主机,php 7.0.14 1 安装和配置redis 参考方案 点击打开链接 1.1 下载redis 进入软件安装目录 [php] view plain copy cd /usr/local/ [php] view plain copy [php] view 阅读全文
摘要:
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 阅读全文
摘要:
http://www.laozuo.org/2665.html 阅读全文
摘要:
function getCaption(obj){ var index=obj.lastIndexOf("\-"); obj=obj.substring(index+1,obj.length); // console.log(obj); return obj; } var str=" 执法办案流程- 阅读全文
摘要:
ab(apache bench)是apache下的一个工具,主要用于对web站点做压力测试,基础用法: 其中-c选项为一次发送的请求数量,及并发量。-n选项为请求次数。 实验测试: [java] view plain copy [dev@web ~]$ ab -c 20 -n 50000 http: 阅读全文
摘要:
include(dirname(__FILE__)."/PHPMailer/function.php"); 阅读全文
摘要:
刚刚在网上看到一个提问. 下面给出我自己的一点方法. 方案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); 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文