原始檔名:' . $_FILES['UpFile']['name']; echo '檔案類型:' . $_FILES['UpFile']['type']; echo '檔案大小:' . $_FILES['UpFile']['size']; echo '暫存檔名:' . $_FILES['UpFile']['tmp_name']; } else{ echo "上傳失敗"; } ?>