![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
仲颖
不是一般的美~
展开
-
Warning: POST Content-Length of 29328854 bytes exceeds the limit of 8388608 bytes in Unknown on line
报错:Warning: POST Content-Length of 29328854 bytes exceeds the limit of 8388608 bytes in Unknown on line 0在php.ini中将以下两个参数改大,如果没有则加上,加完后记得保存重启集成环境upload_max_filesize = 100Mpost_max_size = 100M...原创 2019-06-06 14:28:45 · 7287 阅读 · 0 评论 -
仅记录---需求.php
<?phpclass demand{ //是否已赞 public function if_like($pid){ $data=$this->projects_comments->where(['id'=>$pid])->field('like_accounts_id')->find(); $cid=sessio...原创 2019-08-06 13:16:19 · 109 阅读 · 0 评论 -
重命名快捷键
第一种是使用按键F2。选中文件,按下F2,文件就会处于重命名状态。第二种是左键选中文件,在文件处于选中的状态下同样左键点击文件名部分,就可以使文件处于重命名的状态。当然,两次单击的时间间隔不要过短,过短的话就变成双击打开了。...原创 2019-08-06 15:19:35 · 13933 阅读 · 0 评论 -
报错:iconv(): Detected an illegal character in input string
地点:iconv(‘UTF-8’, ‘GB2312’, $send_xml)原因:非法字符串输入改正:iconv(‘UTF-8’, ‘GB2312//IGNORE’, $send_xml)备注:GB2312和GBK区别: 总体说来,GBK包括所有的汉字,包括简体和繁体。而gb2312则只包括简体汉字。...原创 2019-08-06 15:21:30 · 3266 阅读 · 0 评论 -
上传文件软连接
参考:Windows下mklink使用, 硬链接, 软链接和快捷方式的区别](http://www.360doc.com/content/18/0804/22/9200790_775732998.shtml)原创 2019-09-25 10:29:22 · 806 阅读 · 0 评论 -
composer安装phpqrcode
1.编辑项目中的 composer.json 文件,在 require下面增加“endroid/qr-code”: “^2.5”2.composer update原创 2019-09-26 14:17:02 · 5269 阅读 · 0 评论 -
[Composer\Downloader\TransportException] The "https://packa
1.报错 [Composer\Downloader\TransportException] The "https://packagist.org/p/provider-2019-04%24d79aa57f5a9ee1a92d10e2edba9b28a8a9f4419845716192fb0a7da7a26d1f1c....原创 2019-09-26 14:24:55 · 1127 阅读 · 0 评论 -
tp5 HTML页面总结,归类字段
<div class="hy_list"> <ul class="clearfix"> {volist name="list" id="vo"} {php}$url=url('index/exhibition/index',['exh'=>$vo['id'],'exh_info'=>$vo['info_id'],'is_hold'=&...原创 2019-09-27 15:33:41 · 290 阅读 · 0 评论 -
notes-PHP3小时光速入门(网易云课堂)
PHP3小时光速入门(网易云课堂)讲师:燕十八布尔教育:www.itbool.com自学IT网,学习论坛:http://www.zixue.it课时1了解PHP 03:11学习目标:知道php是做网页的,并学会第1个hello world程序学习内容:php是什么?编程语言,中文,英文,php能干什么?web开发,开发网站第1个程序<? phpecho “hello...原创 2019-10-08 16:26:16 · 313 阅读 · 0 评论 -
notes-PHP基础巩固教程(网易云课堂)
PHP基础巩固教程(网易云课堂)讲师:燕十八章节1变量课时1变量类型02:361.NULL是指没有值,也没有类型,只有一个值就是null课时2变量检测04:501.isset 检测变量是否存在,设置,对于NULL也返回false课时3变量类型判断05:25gettype 获取变量类型is_ 等一系列,判断是否是自己想要的类型课时4打印调试变量04:22echo 一般打...原创 2019-10-08 16:27:36 · 131 阅读 · 0 评论 -
phpstorm 不能自动打开上次的历史文件
原因:非正常关闭解决方案:删除项目中的隐藏文件夹.idea原创 2019-07-15 16:17:43 · 676 阅读 · 0 评论 -
获取文件路径和名字
$('input[type=file]').on('change', function(event) { var filePath=$(this).val(); var arr=filePath.split('\\'); var fileName=arr[arr.length-1]; console.log(fileN...原创 2019-06-17 14:06:16 · 556 阅读 · 0 评论 -
thinkPHP前台获取session值
<input value="{$Think.session.user_info.id}">其中,user_info是session名字,id是user_info的一个值原创 2019-06-01 11:39:12 · 3905 阅读 · 0 评论 -
PHPstorm快捷键
1.查找 Ctrl+F2.替换 Ctrl+R原创 2019-06-01 13:42:19 · 225 阅读 · 0 评论 -
unserialize(): Error at offset 98 of 220 bytes
将缓存文件删除即可原创 2019-06-01 15:03:38 · 1699 阅读 · 0 评论 -
phpstrom安装,配置,激活教程,以及使用lanyu的激活码,报错1653219,解决办法
q1.下载安装文件https://www.jetbrains.com/phpstorm/?fromMenu2.安装下载的.exe文件,视情况而定配置3.激活打开 http://idea.lanyus.com/hosts文件是一个没有扩展名的系统文件,它的主要作用是能加快域名解析,还可以屏蔽网站等。。路径在 C:\Windows\System32\drivers\etc,也可以...原创 2019-06-06 21:23:11 · 3405 阅读 · 0 评论 -
phpstudy安装配置教程
1.安装http://phpstudy.php.cn/index.php 下载对应版本,笔者是PhpStudy201802112.解压 然后选择打开位置即可 笔者放于D盘原创 2019-06-06 21:44:52 · 2485 阅读 · 0 评论 -
git 忽略文件
在.gitignore文件中填写你需要忽略的文件或目录如果在此文件中填写前已经git status 文件,则需要先删除,文件夹是git rm -r --cached thinkphp/文件是 git rm --cached public/.htaccess以下为个人例子Administrator@XPC-WANMEI MINGW64 /d/phpStudy/PHPTutorial...原创 2019-06-04 10:10:31 · 3534 阅读 · 1 评论 -
php 报 Not Found The requested URL /index.php was not found on this server.
问题:首页没问题,下面的链接报错,Not FoundThe requested URL /index/index/shop_index/system_platform_id/1.html链接路径前面加index.php就不报错了1.看文档https://www.kancloud.cn/manual/thinkphp5/1180122.加入文件.htaccess<IfModule...原创 2019-06-04 11:17:39 · 20733 阅读 · 2 评论 -
1067 – Invalid default value for ‘id’
1.报错 1067 – Invalid default value for ‘id’无效的默认值2.将默认值设为空,报另外一个错1067 – duplicate column name ‘status’1067 -重复列名“status”删除重复的即可...原创 2019-06-04 17:06:25 · 26315 阅读 · 1 评论 -
tp5获取路径上面的某个值
value="{:request()->get('key')}"原创 2019-06-17 14:05:43 · 644 阅读 · 0 评论 -
notes-ThinkCMF视频教程 第一期(网易云课堂)
章节1 ThinkCmf介绍课时1 ThinkCmf简介及安装cmf相当于CMS的一个半成品,cmf可以二次开发,弹性更大,官网:www.thinkcmf.com浏览器打开配制好的域名,有一个thinkcmf安装向导页面,调用的是D:\phpStudy\PHPTutorial\WWW\thinkcmf-5.0.180901\app\install\controller\IndexCon...原创 2019-10-08 16:34:32 · 302 阅读 · 0 评论