<?php
print_r($_FILES);
$filename=$_FILES['myFile']['name'];
$type=$_FILES['myFile']['type'];
$tmp_name=$_FILES['myFile']['tmp_name'];
$size=$_FILES['myFile']['size'];
$error=$_FILES['myFile']['error'];
copy($tmp_name,"teat0/".$filename);
copy($tmp_name,"teat0/".$filename);
"teat0/" 你这个文件夹在哪,应该是路径写错了,文件夹和你的PHP应该是同级目录才可以这样写的.