摘要:
$arr=[ array( 'name'=>'小坏龙', 'age'=>28 ), array( 'name'=>'小坏龙2', 'age'=>14 ), array( 'name'=>'小坏龙3', 'age'=>59 ), array( 'name'=>'小坏龙4', 'age'=>23 ), 阅读全文
摘要:
测试账号信息: 接口配置信息 JS接口安全域名 网页帐号 网页授权获取用户基本信息 必须设置准确 否则报10003redirect_url 和后台不一致 阅读全文
摘要:
注意事项 : 服务器地址(URL)必须是公网IP或者域名 端口默认80 阅读全文
摘要:
url里public目录的隐藏 出于安全的考虑,TP5的入口文件改成放在public下了,因为这样的话能防止被恶意用户访问到“/thinkphp/”、“/vendor/”等等这些目录下的文件。所以当你以之前的习惯将网站documentroot配置为项目根目录的时候就会需要在url后面加上/publi 阅读全文
摘要:
ThinkPHP5 在 LNMP 环境下访问出现 HTTP ERROR 500 2018-10-12 17:54:29 谷文杰 阅读数 1746更多 分类专栏: PHP ThinkPHP5 在 LNMP 环境下访问出现 HTTP ERROR 500 2018-10-12 17:54:29 谷文杰 阅 阅读全文
摘要:
一、在session_start() 前设置session_name(); 例子: string session_name([string $name]) 说明: PHP会话控制之如何正确设置session_name 定义: string session_name([string $name]) 说明: 在php.ini中配置为:session.name = PHPSESSID 在请求开始... 阅读全文
摘要:
执行指令: 执行指令: 1 2 [Sun@webserver2 demo]$ git update-index --assume-unchanged config.conf [Sun@webserver2 demo]$ git status 此时忽略config.conf文件跟踪之后再查看状态,发现 阅读全文
摘要:
解决方案: 1、将session放入header 相当于token 2、将session 存入数据库 或redis等缓存 3、直接访问 .php文件会被被代理服务器的enable-php.conf优先处理,enable-php.conf处理内容如下: location ~ [^/]\.php(/|$ 阅读全文
摘要:
https://www.php.cn/php-weizijiaocheng-402924.html 最简单最实例的goolge开源方法 1.google开放api 代码如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 $urlToEn 阅读全文
摘要:
https://www.cnblogs.com/yufeng218/p/8370670.html https://www.cnblogs.com/qgc1995/archive/2018/08/29/9553572.html lnmp环境搭建 注:在此文件中配置所需要的容器 docker-compo 阅读全文