一、下载并安装memcached服务器端软件 1、下载memcached软件 32位下载地址:memcached-win32-1.4.4-14.zip(直接下载),memcached-win32-1.4.4-14.zip下载页面:http://blog.couchbase.com/memcach.....
主题链接:pid=1669">http://acm.fzu.edu.cn/problem.php?pid=1669题目大意:求满足以a、b为直角边,c为斜边,而且满足a + b + c n,且若m为奇数,则n为偶数。若m为偶数。则n为奇数。枚举m、n,然后将三元组乘以i倍。保证 i * (x + ....
分类:
其他好文 时间:
2015-10-27 12:55:05
阅读次数:
161
系统:?cat??/etc/redhat-release? CentOS?release?6.5?(Final) 一、安装所需的工具 ? ? ? ?yum ?install ?httpd ?subversion ?mod_dav_svn ??php ?-y 二、修改http配置文件支持svn ? ? ? ...
分类:
其他好文 时间:
2015-10-27 11:41:30
阅读次数:
259
最近的工作项目中,接触到了很多的政府 微信开发项目。对方的外包公司都是使用JAVA作为开发语言,然后通过WEBSERVICE进行接口返回数据到我的项目中。一般情况下,能在浏览器打开并显示数据的接口是直接可以使用 CURL或者file_get_contents进行接收的。但是WEBSERVICE是使用...
分类:
Web程序 时间:
2015-10-27 11:31:03
阅读次数:
294
Unity历史版本http://wiki.ceeger.com/unity:history#unity_522f1Unity 4.x- v5.2.2f1 破解 window和mac版http://game.ceeger.com/forum/read.php?tid=20933
分类:
编程语言 时间:
2015-10-27 11:25:19
阅读次数:
208
1. 四种不同的开始结束标记只有、两个总是可用,剩下的、需要在php.ini中配置。即分别开启php.ini中的short-open-tag和asp-tags即可,默认情况下,它们被禁用,而 且移植性较差,不推荐使用。2. 指令分隔符“分号”末尾的php代码段后面的“;”也可以不要,当使用输出缓冲和...
分类:
Web程序 时间:
2015-10-27 11:24:57
阅读次数:
228
对于下面的重写规则rewrite ^/gongying/([\d]{8})_([\d]+).html$ /index.php?app=support&act=view&pts=$1&support_id=$2 last;始终报:nginx: [emerg] directive "rewrite" i...
分类:
其他好文 时间:
2015-10-27 11:11:28
阅读次数:
849
//preg_match(pattern, str)对串str进行pattern的正则匹配$num = '18712345678';$pattren = "/^(((13)[4-9]{1})|((15)[0,1,2,7,8,9]{1})|((18)[7,8]{1})|(147))[0-9]{8}$/...
分类:
Web程序 时间:
2015-10-27 11:10:53
阅读次数:
194
前文CSRF攻击和漏洞的参考文章:http://www.cnblogs.com/hyddd/archive/2009/04/09/1432744.htmlLaravel默认是开启了CSRF功能,需要关闭此功能有两种方法:方法一打开文件:app\Http\Kernel.php把这行注释掉:'App\H...
分类:
其他好文 时间:
2015-10-27 11:06:12
阅读次数:
161
读《PHP和MySQL Web开发》笔记合集: http://my.oschina.net/bluefly/blog/478580 1、异常处理概念 1)异常处理在 try 代码块被调用执行 try { ? ? //code goes here } 2)PHP中,异常必须手动抛出 throw new ...
分类:
Web程序 时间:
2015-10-27 00:35:24
阅读次数:
206