上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 56 下一页
摘要: php读取本地文件常用函数(fopen与file_get_contents)一:string file_get_contents ( string $filename [, bool $use_include_path = false [, resource $context [, int $off... 阅读全文
posted @ 2015-10-14 14:54 一束光 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 二:安装MySQL安装编译代码需要的包yum -y install make gcc-c++ cmake bison-devel ncurses-devel下载MySQL 5.6.14wget http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.1... 阅读全文
posted @ 2015-10-14 10:49 一束光 阅读(289) 评论(0) 推荐(0) 编辑
摘要: http://www.baidufe.com/item/9565cec0004cb49d25fd.html 阅读全文
posted @ 2015-10-13 09:37 一束光 阅读(379) 评论(0) 推荐(0) 编辑
摘要: PHP不适合做常驻的SHELl进程,因为它没有专门的gc例程,也没有有效的内存管理途径。如果用PHP做常驻SHELL,会经常被内存耗尽导致abort而unhappy。而且,如果输入数据非法,而脚本没有检测,导致abort。此时可以考虑php的多进程,来帮助解决如上的问题。使用多进程的优点:1. 子进... 阅读全文
posted @ 2015-10-13 09:34 一束光 阅读(6677) 评论(0) 推荐(1) 编辑
摘要: 一:Linux shell字符串截取与拼接假设有变量 var=http://www.linuxidc.com/123.htm1 # 号截取,删除左边字符,保留右边字符。echo ${var#*//}其中 var 是变量名,# 号是运算符,*// 表示从左边开始删除第一个 // 号及左边的所有字符即删... 阅读全文
posted @ 2015-10-12 11:43 一束光 阅读(995) 评论(0) 推荐(0) 编辑
摘要: 一:PHP中array_merge和array相加的区别分析1:键名是string:'PHP');$arr2 = array('a'=>'JAVA');print_r(array_merge($arr1,$arr2)); //Array ( [a] => JAVA )print_r($arr1+$a... 阅读全文
posted @ 2015-10-10 14:53 一束光 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 一:基于HTTP协议的Web API1:RESTful API http://www.ruanyifeng.com/blog/2011/09/restful二: 阅读全文
posted @ 2015-09-25 17:42 一束光 阅读(294) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/aigongsi/archive/2012/09/21/2696773.htmlhttp://www.cnblogs.com/aigongsi/archive/2012/09/22/2698055.html 阅读全文
posted @ 2015-09-25 14:30 一束光 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 待续 阅读全文
posted @ 2015-09-25 13:33 一束光 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 待续 阅读全文
posted @ 2015-09-25 13:33 一束光 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 56 下一页

友情链接

CFC4N