【已解答】防跨站攻击问题
防跨站攻击环境:IIS+php7
框架:thinkphp5
网站目录:d:\wwwroot\a.cn\
运行目录:d:\wwwroot\a.cn\public
.user.ini 内容
open_basedir="D:/wwwroot/a.cn/;C:/Windows/Temp/;C:/Temp/;D:/BtSoft/temp/session/"
报错信息
is_file(): open_basedir restriction in effect. File(D:\wwwroot\a.cn\.env) is not within the allowed path(s): (D:/wwwroot/a.cn/;C:/Windows/Temp/;C:/Temp/;D:/BtSoft/temp/session/)
求高手指教
open_basedir="D:\wwwroot\a.cn\;C:\Windows\Temp\;C:\Temp\;D:\BtSoft\temp\session\"
试试这样
页:
[1]