文件上传报错问题。。。

浏览:3683 发布日期:2015/07/09 分类:求助交流 关键字: 文件上传报错问题。。。
文件是传上去了,就是报错,看着不爽
( ! ) Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in …………ThinkPHP\Library\Think\Upload.class.php on line 167

/* 调用回调函数检测文件是否存在 */
$data = call_user_func($this->callback, $file);
if( $this->callback && $data ){
if ( file_exists('.'.$data['path']) ) {
$info[$key] = $data;
continue;
}elseif($this->removeTrash){
call_user_func($this->removeTrash,$data);//删除垃圾据
}
}

各位大神,请问怎么解决啊。。。。


最佳答案
评论( 相关
后面还有条评论,点击查看>>