计算机网络/计算机科学与应用/系统/运维/开发

ThinkPHP5.1 2个以上单文件域上传报错 SplFileObject::__construct(C:\Users\a\AppData\Local\Temp\php9A5E.tmp): failed to open stream: No such file or directory

ThinkPHP5.1 2个以上单文件域上传报错

SplFileObject::__construct(C:\Users\a\AppData\Local\Temp\php9A5E.tmp): failed to open stream: No such file or directory


解决办法:

ThinkPHP/library/think/File.php

添加  file_exists 即可


image.png

docker镜像网站 https://docker.xuanyuan.me/#google_vignette

评论

^