随笔分类 -  网站常见问题

摘要:git报错 解决办法 phpstorm的操作 1.在整个项目上右键-【git】-【Repository】-【Stash Changes】 然后按照默认设置直接点击 【Create Stash】 2.在直接进行pull操作 在整个项目上右键-【git】-【Repository】-【Pull】 参考资料 阅读全文
posted @ 2018-07-17 08:50 星耀学园 阅读(2245) 评论(0) 推荐(0) 编辑
摘要:thinkcmf表单上传 前端html代码form提交 1)二进制数据上传必须加enctype='mulitipart/form-data' 2)指定method方法 post get 3)input 文件上传 type='file' 必须有name属性名才会提交 实例 <form action=' 阅读全文
posted @ 2018-07-06 10:22 星耀学园 阅读(325) 评论(0) 推荐(0) 编辑
摘要:thinkcmf 忘记密码 或者 密码错误 如何修改后台登陆密码? 直接在后台登陆控制器里输入 dump(cmf_password('123456')); 参考文件路径 app\admin\controller\PublicController.php 访问后台登陆 使用cmf_password函数 阅读全文
posted @ 2018-06-29 16:09 星耀学园 阅读(2805) 评论(0) 推荐(0) 编辑
摘要:thinkphp 模板变量使用函数 模板变量字符串正则换行,遇到。和;号 自动添加<br/>换行符 实例 thinkcmf模板变量使用函数 参考资料: php preg_replace函数 thinkphp5模板变量使用函数 PHP正则表达式笔记和实例 阅读全文
posted @ 2018-06-28 10:34 星耀学园 阅读(1526) 评论(0) 推荐(0) 编辑
摘要:THINKCMF 自定义扩展函数 phpstorm里全局搜索下 ctrl + alt + f 搜索 extra_file_list 然后跳转到 app\config.php 文件里 这里是thinkcmf定义扩展函数文件的位置 thinkphp5定义的位置在 simplewind\thinkphp\ 阅读全文
posted @ 2018-06-27 22:54 星耀学园 阅读(421) 评论(0) 推荐(0) 编辑
摘要:window.location.href = document.referrer;window.history.back(-1); 阅读全文
posted @ 2018-06-26 22:46 星耀学园 阅读(1926) 评论(0) 推荐(0) 编辑
摘要:1.等分td 在一行里 实现table css table-layout: fixed; 一个tr里多个td就会等分宽度(宽度都一样) 一个tr里一个td就需要设置conspan='数量' (这里数量就是最多饿一行tr的td数) 阅读全文
posted @ 2018-06-26 22:25 星耀学园 阅读(1646) 评论(0) 推荐(0) 编辑
摘要:下面情况是单独的一个数据添加 1.$adminname[0];保证是一个数组 2.需要把user_login替换成adduser,顺序是替换的键名在前面(标红) 3.修改完别忘记注销 unset以前的键名 $namearray =$adminname[0]; $namearray['adduser' 阅读全文
posted @ 2018-06-21 14:16 星耀学园 阅读(877) 评论(0) 推荐(0) 编辑
摘要:一 select下的option 跳转链接问题 知识点 window.open(url) 新窗口打开 window.location = this.value 当前页面打开 实例 <select onchange="window.open(this.value) ;"> <option select 阅读全文
posted @ 2018-06-12 13:57 星耀学园 阅读(923) 评论(0) 推荐(0) 编辑
摘要:外层div 设置display:table 里层div设置display:table-cell; float:none;vertical-align:middle; html css 阅读全文
posted @ 2018-06-07 14:42 星耀学园 阅读(149) 评论(0) 推荐(0) 编辑
摘要:1.安装apache httpd 启动apache systemctl start httpd.service 检测是否启动 curl 测试下 curl localhost 出现以下信息说明就是可以的了 2.安装php 以下是CentOS 7.0的源。 yum install epel-releas 阅读全文
posted @ 2018-06-04 15:21 星耀学园 阅读(425) 评论(0) 推荐(0) 编辑
摘要:环境用的phpstudy 前提已安装apache 1)安装dotnetfx .NETFRAMEWORK1.1 链接: https://pan.baidu.com/s/1HV3LCdjad-G_tUHHU46_8g 密码: cem3 2)安装mod_aspdotnet 链接: https://pan. 阅读全文
posted @ 2018-05-31 10:54 星耀学园 阅读(192) 评论(0) 推荐(0) 编辑
摘要:控制器修改 D:\cmf\thinkcmf\app\admin\controller\PublicController.php 注释 /* $captcha = $this->request->param('captcha'); if (empty($captcha)) { $this->error 阅读全文
posted @ 2018-05-25 10:56 星耀学园 阅读(1681) 评论(0) 推荐(0) 编辑
摘要:服务器环境 centos 7.4 问题描述 1.可以ping通IP ,用IP访问nginx 不能访问,在服务器上curl localhost curl 185.239.226.111可以获得 [root@izm5e16gjdevwdl8q7q3qoz ~]# curl 185.239.226.111 阅读全文
posted @ 2018-05-22 14:45 星耀学园 阅读(1585) 评论(0) 推荐(0) 编辑
摘要:问题: 网址:https://support.google.com/websearch/answer/45449?visit_id=0-636621322108046928-3628686527&hl=zh-Hans&rd=1 谷歌官方的解决办法: 让您的网站不再显示此消息 除非此类网站的网站站长采 阅读全文
posted @ 2018-05-17 13:41 星耀学园 阅读(139) 评论(0) 推荐(0) 编辑
摘要:问题: 下载 https://github.com/XX-net/XX-Net 查看谷歌官方给的理由 http://www.google.com/safebrowsing/diagnostic?site=http://www.zlhholding.com/ 加粗部分就是自己的网址 效果 阅读全文
posted @ 2018-04-27 10:24 星耀学园 阅读(26) 评论(0) 推荐(0) 编辑
摘要:1.引用静态css文件 参考路径:D:\wwwroot\public\assets\addons\cms\css 静态资源文件基本都放在public目录下引用 引用实例 D:\wwwroot\addons\cms\view\default\common\layout.html 直接在文件上引用: 2 阅读全文
posted @ 2018-04-11 15:39 星耀学园 阅读(1559) 评论(0) 推荐(0) 编辑
摘要:最近手机想刷冰箱APP 没有root 想直接弄 其他相关APP 冰箱,结界,边缘,黑白门 发现直接执行 adb shell dpm set-device-owner com.catchingnow.icebox/.receiver.DPMReceiver 报错 报错 这个报错是占用端口了 找到占用的 阅读全文
posted @ 2017-10-08 13:49 星耀学园 阅读(909) 评论(0) 推荐(0) 编辑
摘要:两种方法 前提 父元素 overflow:hidden;子元素float:left;宽度都是不固定的 1.父元素 text-align:center;font-size:0;子元素 display:inline-block;font-size:14px; font-size设置为了解决inline- 阅读全文
posted @ 2017-06-23 11:27 星耀学园 阅读(538) 评论(0) 推荐(0) 编辑
摘要:原生APP开发 阿里WEEX 阅读全文
posted @ 2017-06-15 11:09 星耀学园 阅读(133) 评论(0) 推荐(0) 编辑

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