会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
iYunBlog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2015年9月30日
vim操作快捷键
摘要: 一、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
阅读(150)
评论(0)
推荐(0)
2015年8月29日
PHP检测判断值
摘要: 一、gettype($x), empty($x), isset($x), is_null(), if ($x) 检测判断值:
阅读全文
posted @ 2015-08-29 13:23 iYunBlog
阅读(229)
评论(0)
推荐(0)
PHP面试题集锦二
摘要: 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
阅读(140)
评论(0)
推荐(1)
2015年8月28日
PHP面试题集锦一
摘要: 1、echo()、print()、print_r()、var_dump() 和 var_export() 的区别:相同点:❶、笼统的概括为他们都可以输出变量内容不同点:❶、echo():输出一个或者多个字符串或变量值,它是一个语言结构而非函数。因为他不是函数,所以它没有返回值 1 'string'...
阅读全文
posted @ 2015-08-28 21:10 iYunBlog
阅读(197)
评论(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
阅读(268)
评论(0)
推荐(0)
2015年8月25日
MySQL数据库常用操作之一
摘要: 一、显示所有数据库: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
阅读(261)
评论(0)
推荐(0)
Window搭建Wnmp开发环境
摘要: 一、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
阅读(423)
评论(0)
推荐(0)
用SwitchHosts方便切换开发、测试、仿真和线上域名(域名统一,减少配置)
摘要: 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
阅读(454)
评论(0)
推荐(0)
2015年8月24日
PHP获取文件的扩展名
摘要: 一、使用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
阅读(231)
评论(0)
推荐(0)
2015年8月20日
PHP遍历目录下的全部文件
摘要: 一、使用dir()函数: 1 read()) {12 if ((is_dir("$directory/$file")) && ($file != '.') && ($file != '..')) {13 dirTree("$directory/$file");...
阅读全文
posted @ 2015-08-20 08:48 iYunBlog
阅读(263)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告