会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hereim
博客园
首页
新随笔
管理
1
2
3
4
5
下一页
2016年8月14日
nginx查看配置文件nginx.conf路径
摘要: 输入命令nginx -t # nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is succe
阅读全文
posted @ 2016-08-14 12:19 hereim
阅读(1541)
评论(0)
推荐(0)
2016年7月23日
http://127.0.0.1/thinkphp5/public/index/teacher/delete/id/1.html 这样的URL下,页面收不到get参数
摘要: 修改application/config.php文件里: 'url_common_param'=>true这个参数一定要开启
阅读全文
posted @ 2016-07-23 19:13 hereim
阅读(318)
评论(0)
推荐(0)
2016年7月22日
thinkphp5访问报错 ...with message 'mkdir(): Permission denied' in... 或...failed to open stream: Permission denied' in...
摘要: 报错截图1: 报错截图2: 报错原因没有权限访问thinkphp5/runtime目录。 解决方法: 1.如果thinkphp5/runtime目录下面有文件,先清空thinkphp5/runtime目录; 2.修改thinkphp5/runtime目录权限为可读可写。
阅读全文
posted @ 2016-07-22 21:33 hereim
阅读(502)
评论(0)
推荐(0)
thinkphp报错No input file specified. (对于隐藏url中的index.php 是如何做到的?)
摘要: thinkphp5 1.去除httpd.conf文件中"#LoadModule rewrite_module modules/mod_rewrite.so"前面的"#"号; 2.修改httpd.conf文件中的AllowOverride None为AllowOverride All,目的是支持.ht
阅读全文
posted @ 2016-07-22 10:01 hereim
阅读(1960)
评论(0)
推荐(0)
2016年7月21日
收藏网址
摘要: 网站模板 https://html5up.net/
阅读全文
posted @ 2016-07-21 17:15 hereim
阅读(99)
评论(0)
推荐(0)
2016年3月29日
jquery 和 原生js 获取<select><option></option></select>标签的值和文本
摘要: jquery方法: 原生js方法:
阅读全文
posted @ 2016-03-29 19:07 hereim
阅读(3105)
评论(0)
推荐(0)
2015年11月7日
Macbook下MySQL卸载方法
摘要: 我的安装文件为:mysql-5.7.9-osx10.10-x86_64.dmg卸载方法:sudo rm /usr/local/mysqlsudo rm -rf /usr/local/mysql*sudo rm -rf /Library/StartupItems/MySQLCOMsudo rm -rf...
阅读全文
posted @ 2015-11-07 18:07 hereim
阅读(335)
评论(0)
推荐(0)
提示错误 Call to undefined function imagepng() in …
摘要: 原因:macbook系统自带的 PHP5.5 的 GD 库有问题。解决方法:在终端运行:curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5等待安装,然后就ok了。
阅读全文
posted @ 2015-11-07 17:44 hereim
阅读(367)
评论(0)
推荐(0)
Mac 安装phpmyadmin提示无法登陆 mysql服务器解决办法
摘要: 进入phpmyadmin目录找到文件config.sample.inc.php,复制一份,改名为config.inc.php如果访问时候出现如标题的错误,使用下面的方法解决:修改config.inc.php中的host的值,将localhost改为127.0.0.1保存即可。
阅读全文
posted @ 2015-11-07 13:18 hereim
阅读(973)
评论(0)
推荐(0)
2015年11月4日
php把一个字符串分割成字符数组(可以用参数指定数组每个元素字符的长度)
摘要: function str_split_unicode($str, $l = 0) { if ($l > 0) { $ret = array(); $len = mb_strlen($str, "UTF-8"); for ($i = 0; $i a [...
阅读全文
posted @ 2015-11-04 20:09 hereim
阅读(3359)
评论(0)
推荐(0)
1
2
3
4
5
下一页
公告