
这是 一个上传文件的代码
1 :单独点击执行 如 file:///Applications/XAMPP/xamppfiles/htdocs/vscodtest/flex.html
是可以的上传的
2: 在locahost 如 “http://localhost/vscodtest/fl...” 也是可以执行
问题是:
我把这段代码复制到我们项目thinkPHP中就不行啦
请问 需要特别配置什么吗?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
是跨域问题
请参考
X-Frame-Options 响应头