随笔分类 -  PHP

摘要:电子书地址 https://github.com/CodeIgniter-Chinese/rapid-php-application-development 我打包编译好了chm,https://files.cnblogs.com/files/pengchenggang/CodeIgniter3.c 阅读全文
posted @ 2023-12-13 11:32 彭成刚 阅读(33) 评论(1) 推荐(0)
摘要:php time 时间 前台拿到 需要1000能正确显示 dayjs(time1000).format('YYYY-MM-DD HH:mm:ss') 阅读全文
posted @ 2021-10-15 13:39 彭成刚 阅读(129) 评论(0) 推荐(0)
摘要:// 是否自动转换URL中的控制器和操作名 'url_convert' ⇒ false, // true, 阅读全文
posted @ 2021-10-14 08:50 彭成刚 阅读(151) 评论(0) 推荐(0)
摘要:web.config <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <handlers> <remove name="OPTIONSVerbHandler" /> <add name="PHPvia 阅读全文
posted @ 2021-09-26 14:41 彭成刚 阅读(279) 评论(0) 推荐(0)
摘要:说明手册 https://www.kancloud.cn/manual/thinkphp/1706 下载地址 https://gitee.com/liu21st/thinkphp32 thinkPHP 3.2.3 是从showdoc开源项目里面看到的,最新版的TP比较复杂,先看看这个老版本的。 ht 阅读全文
posted @ 2021-02-03 14:56 彭成刚 阅读(211) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/hfxtest/p/12513210.html 阅读全文
posted @ 2020-11-23 19:28 彭成刚 阅读(568) 评论(0) 推荐(0)
摘要:https://jingyan.baidu.com/article/3d69c551aa54dff0cf02d7a0.html 注意本机ip填写 localhost 阅读全文
posted @ 2020-11-23 17:33 彭成刚 阅读(633) 评论(0) 推荐(0)
摘要:思路: php 开启 Session 登录时 生成token,前端存下,然后每次走接口 验证下Session里的token和前端发过来的token是否一样。 遇到问题:后端 每次PHP SessionId 由于异步请求,就不一样了,每次都生成一个新的。 解决方案:后端生成token,把 Sessio 阅读全文
posted @ 2019-12-12 16:56 彭成刚 阅读(416) 评论(0) 推荐(0)
摘要:phpStudy 阅读全文
posted @ 2019-12-09 14:09 彭成刚 阅读(215) 评论(0) 推荐(0)
摘要:header.php comm.php select.php update.php insert.php delete.php 字符集: utf8 -- UTF-8 Unicode 排序规则: utf8_general_ci 阅读全文
posted @ 2019-09-27 12:03 彭成刚 阅读(244) 评论(0) 推荐(0)
摘要:mysqli_query($conn, "set names utf8"); //**设置字符集*** 不设置插入数据库就是乱码 阅读全文
posted @ 2019-09-26 16:26 彭成刚 阅读(2920) 评论(0) 推荐(0)