File Zend文件传输
我上传有问题。File Zend文件传输,file,zend-framework,transfer,File,Zend Framework,Transfer,我上传有问题。 这是我的代码: $upload->addFilter('Rename',array('target'=>$path,'overwrite'=>true)) 和错误: 警告:重命名(C:\xampp\htdocs\laptop/public/_upload/laptop/50\1.JPG,C:\xampp\htdocs\laptop/public/_upload/laptop/50/1.JPG)[函数.重命名]:系统找不到指定的文件。(代码:2)在C:\xampp\php\PEAR
这是我的代码: $upload->addFilter('Rename',array('target'=>$path,'overwrite'=>true)) 和错误: 警告:重命名(C:\xampp\htdocs\laptop/public/_upload/laptop/50\1.JPG,C:\xampp\htdocs\laptop/public/_upload/laptop/50/1.JPG)[函数.重命名]:系统找不到指定的文件。(代码:2)在C:\xampp\php\PEAR\Zend\Filter\File\Rename.php的第186行 需要:
$upload->addFilter('Rename',array('target'=>$path,'overwrite'=>true), **string Files**);
能否显示更多代码,以便上下文更清晰?能否提供
$path
的示例值,并添加$upload的初始化。您有什么解决方案吗?我也有同样的问题。
$upload->addFilter('Rename',array('target'=>$path,'overwrite'=>true), **string Files**);