if(!isset($_GET['error'])){
选择本地文件:
}else{
if($_GET['error']==0){echo '上传成功';}else{echo $_GET['msg'];}
}