//删除文件 $path为绝对路径
public function delFile($path){
$url=iconv('utf-8','gbk',$path);
if(PATH_SEPARATOR == ':'){ //linux
unlink($path);
}else{ //Windows
unlink($url);
}
}
//删除文件 $path为绝对路径
public function delFile($path){
$url=iconv('utf-8','gbk',$path);
if(PATH_SEPARATOR == ':'){ //linux
unlink($path);
}else{ //Windows
unlink($url);
}
}