随笔 - 314  文章 - 1 评论 - 127 阅读 - 135万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

12 2020 档案
thinkphp访问mysql中文字段问题
摘要:别人的数据库做接口,用到了中文字段,会报错,需要修改db/builder/mysql.php \w只匹配数字字母下划线,匹配不到汉字。 所以我们要在正则表达式上加上汉字匹配 if ($strict && !preg_match('/^[\w\.\*\x00-\xff]+$/', $key)) { t 阅读全文
posted @ 2020-12-11 10:37 garfieldtom 阅读(384) 评论(0) 推荐(0) 编辑
apache https访问配置
摘要:1.httpd-ssh.conf Listen 443SSLStrictSNIVHostCheck offSSLCipherSuite AESGCM:ALL:!DH:!EXPORT:!RC4:+HIGH:!MEDIUM:!LOW:!aNULL:!eNULLSSLProtocol all -SSLv2 阅读全文
posted @ 2020-12-11 07:09 garfieldtom 阅读(188) 评论(0) 推荐(0) 编辑

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