摘要: 一、vim操作快捷键:1、http://segmentfault.com/a/11900000027420362、http://blog.csdn.net/donahue_ldz/article/details/171393613、http://cenalulu.github.io/linux/al... 阅读全文
posted @ 2015-09-30 13:53 iYunBlog 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 一、gettype($x), empty($x), isset($x), is_null(), if ($x) 检测判断值: 阅读全文
posted @ 2015-08-29 13:23 iYunBlog 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1、break, continue, goto, return, exit 跳转循环中的区别:❶、break:实例一: 1 3) { 7 break; // break 1; 8 } 9 $arr[$i][$j] = $sum;10 ... 阅读全文
posted @ 2015-08-29 11:39 iYunBlog 阅读(136) 评论(0) 推荐(1) 编辑
摘要: 1、echo()、print()、print_r()、var_dump() 和 var_export() 的区别:相同点:❶、笼统的概括为他们都可以输出变量内容不同点:❶、echo():输出一个或者多个字符串或变量值,它是一个语言结构而非函数。因为他不是函数,所以它没有返回值 1 'string'... 阅读全文
posted @ 2015-08-28 21:10 iYunBlog 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 一、方法一: 1 $value) {11 $flag = $key > 0 || $isFirstLetter;12 $arr[$key] = $flag ? ucfirst($value) : $value;13 }14 return implod... 阅读全文
posted @ 2015-08-28 08:05 iYunBlog 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 一、显示所有数据库:1 SHOW DATABASES;二、创建数据库:1 CREATE DATABASE `db_test`CHARACTER SET utf8 COLLATE utf8_general_ci;三、使用数据库:1 USE `db_test`;四、查询当前使用的数据库:1 SELECT... 阅读全文
posted @ 2015-08-25 21:31 iYunBlog 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 一、Nginx安装:1、版本:nginx-1.9.42、下载地址:http://nginx.org/en/download.html3、指定目录:D:\Wnmp\nginx-1.9.44、配置:❶、打开D:\Wnmp\nginx-1.9.4\conf\nginx.conf,编辑如下内容:# ngin... 阅读全文
posted @ 2015-08-25 20:09 iYunBlog 阅读(405) 评论(0) 推荐(0) 编辑
摘要: SwtichHosts1、软件下载:Windows版:http://oldj.github.io/SwitchHosts/Mac版:http://mac.softpedia.com/get/Internet-Utilities/SwitchHosts.shtml#downloadGitHub:htt... 阅读全文
posted @ 2015-08-25 11:41 iYunBlog 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 一、使用pathinfo()函数: 1 getExtension();11 }12 $directory = "C:/Users/Yun/Downloads/ace-master.zip";13 print_r(getExtName($directory)); 阅读全文
posted @ 2015-08-24 22:01 iYunBlog 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 一、使用dir()函数: 1 read()) {12 if ((is_dir("$directory/$file")) && ($file != '.') && ($file != '..')) {13 dirTree("$directory/$file");... 阅读全文
posted @ 2015-08-20 08:48 iYunBlog 阅读(257) 评论(0) 推荐(0) 编辑