摘要: private function moveFile(){ $destination=rtrim($this->filepath,'/').'/'; $destination.=$this->name; move_uploaded_file($this->tmp_name,$destination); $this->newFileName=$destination; }在使用此函数时,注意路径中最好全是英文名,如果有中文出现的话会出现报错,如果不想把中文改成英文,可以@move_uploaded_file($this->tmp_nam 阅读全文
posted @ 2013-03-05 10:39 达也. 阅读(221) 评论(0) 推荐(0)