windows下开发用的xampp集成的环境,想装个php-redis扩展,扩展的github地址:https://github.com/nicolasff/phpredis描述里找到windows下安装的过程:https://github.com/nicolasff/phpredis/issues...
分类:
Web程序 时间:
2015-09-10 07:07:29
阅读次数:
144
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1495Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7...
分类:
其他好文 时间:
2015-09-10 07:04:18
阅读次数:
185
3.11.1 扩展类库:基于FastRoute的快速路由 此扩展基于 实现,需要 PHP 5.4.0 及以上版本,可以通过配置实现自定义路由配置,从而轻松映射到PhalApi中的service接口服务。 3.11.2 安装和配置 (1)扩展包下载 从 ?...
分类:
其他好文 时间:
2015-09-10 02:11:13
阅读次数:
272
1.cdetccd/ect2.ls-lallinformation(name,permission,ownship)ls-monlyname3.sudofind-iname(ignoreHighLowcapitalandsmallletter)sudofind-iname*php.ini*4.sudomkdirfoldersudomkdirfolder/etc/network/folder(makedirectory)5.sudormfilesudormfolder-R(fileexitthisfolder)..
分类:
系统相关 时间:
2015-09-10 02:08:23
阅读次数:
210
学的编程语言越来越多,各种相似的函数和语法也容易混淆,这里以各种常用的编程语言分割字符串并做遍历来对比。一、PHPexplode(separator,string[,limit])<?php
$str="1.2.3.4.5";
$strs1=explode(".",$str);
foreach($strsas$i){
echo$i."\n";
}
/*
输出结果为
1
2
3
4
5
*..
分类:
编程语言 时间:
2015-09-10 02:03:18
阅读次数:
171
Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.10 Yosemite May 1, 2015?332 Comments Get your Local Web Development Environment?Up & Running on OSX 10.10 Yosemite With Apples’?new OSX 1...
分类:
数据库 时间:
2015-09-10 00:38:47
阅读次数:
411
Java中Enum方法toString与ordinal方法public enum Language { C, Java, PHP;}public class EnumDemo { public static void main(String args[]) { ...
分类:
编程语言 时间:
2015-09-10 00:29:39
阅读次数:
400
cURL 函数curl_close — 关闭一个cURL会话curl_copy_handle — 复制一个cURL句柄和它的所有选项curl_errno — 返回最后一次的错误号curl_error — 返回一个保护当前会话最近一次错误的字符串curl_escape — 使用 URL 编码给定的字符...
分类:
Web程序 时间:
2015-09-10 00:28:41
阅读次数:
259
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5349MZL's simple problemDescriptionA simple problemProblem DescriptionYou have a multiple set,and now th...
分类:
其他好文 时间:
2015-09-10 00:28:02
阅读次数:
145
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5412CRB and QueriesDescriptionThere are $N$ boys in CodeLand. Boy i has his coding skill $A_{i}$. CRB wa...
分类:
其他好文 时间:
2015-09-10 00:26:56
阅读次数:
177