Home >Backend Development >PHP Tutorial >thinkphp 关于文件上传的时候出现的诡异有关问题

thinkphp 关于文件上传的时候出现的诡异有关问题

WBOY
WBOYOriginal
2016-06-13 10:07:28932browse

thinkphp 关于文件上传的时候出现的诡异问题
代码如下:
import("@.ORG.UploadFile");
$upload = new UploadFile();

。。。 。。。

然后就是报错:
Fatal error: Class 'UploadFile' not found in E:\CompanySoft\OrderWeb\wwwroot\WebApp\Lib\Action\TestAction.class.php on line 111


我的thinkphp 文件夹与WebApp文件夹均放在wwwroot文件内。请高手指点,谢谢

------解决方案--------------------
按照你的import,UploadFile类应该在WebApp/Lib/ORG下,看看有木有

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn