05 2016 档案

摘要:补充:必须使用80端口才能正常使用 \Apache\conf\httpd.conf \Apache\conf\extra\httpd-vhosts.conf 或者 C:\Users\Lee\phpStudy\Apache\conf\vhosts.conf 添加上: 注意点: 1、http://fuc 阅读全文
posted @ 2016-05-30 22:18 贝尔塔猫 阅读(696) 评论(0) 推荐(0) 编辑
摘要:补充:此方法比较low、 推荐伪静态:http://www.cnblogs.com/CyLee/p/5544119.html 找到路径C:\AppServ\Apache24\conf\httpd.conf DocumentRoot "C:/AppServ/www" 将路径改为你希望默认localho 阅读全文
posted @ 2016-05-30 20:56 贝尔塔猫 阅读(420) 评论(0) 推荐(0) 编辑
摘要:个人抽离出来一个超级简易但是实用的代码段 网上拿下来的: 阅读全文
posted @ 2016-05-26 15:21 贝尔塔猫 阅读(459) 评论(0) 推荐(0) 编辑
摘要:解析xml,返回一个对象。 查看结果var_dump($obj); 阅读全文
posted @ 2016-05-25 11:19 贝尔塔猫 阅读(189) 评论(0) 推荐(0) 编辑
摘要:ini_set('date.timezone','Asia/Shanghai'); http://www.w3school.com.cn/php/func_date_strtotime.asp strtotime() 函数将任何英文文本的日期时间描述解析为 Unix 时间戳。 例子 <?php ec 阅读全文
posted @ 2016-05-16 00:43 贝尔塔猫 阅读(259) 评论(0) 推荐(0) 编辑
摘要:首先要找到Php.ini文件。 新建一个php文件,使用phpinfo(); 之后找到 Loaded Configuration File 指定的路径就是php.ini文件 打开文件,找到 auto_prepend_file = "Config.php" 重启 阅读全文
posted @ 2016-05-15 10:00 贝尔塔猫 阅读(631) 评论(0) 推荐(0) 编辑
摘要:按下shift + Command + G ,输入以下php(www)路径 打开终端,输入以下命令打开环境 默认的php环境是没有报错的,开启报错的方式如下: 打开apache的路径 查找display_errors = Off 并且修改为ON,控制台重启即可 bin目录所在位置 php目录 使用p 阅读全文
posted @ 2016-05-12 14:19 贝尔塔猫 阅读(229) 评论(0) 推荐(0) 编辑
摘要:一、当天或当日插入的数据: 1、传统对比判断:SELECT * FROM `t` WHERE DATE_FORMAT(addTime,'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')");2、第一点的简写:SELECT * FROM `t` WHERE addT 阅读全文
posted @ 2016-05-12 13:36 贝尔塔猫 阅读(246) 评论(0) 推荐(0) 编辑
摘要:1.查看配置 git config --list 2.添加配置 git config --global user.email "928532756@qq.com"git config --global user.name "dragon8github" 3. 使用下面方式永久记住账号密码 建议用这种 阅读全文
posted @ 2016-05-09 15:35 贝尔塔猫 阅读(787) 评论(0) 推荐(0) 编辑
摘要:使用static来定义变量和过期时间 实战: 阅读全文
posted @ 2016-05-09 09:03 贝尔塔猫 阅读(4338) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示