if (move_uploaded_file($_FILES['upfile']['tmp_name'], $uploadfile)) {
echo "文件上传成功!";
echo "";
echo " 下面是文件上传的一些信息:
原文件名:".$_FILES['upfile']['name'] .
" 类型:" .$_FILES['upfile']['type'] .
" 临时文件名:".$_FILES['upfile']['tmp_name'].
" 文件大小:".$_FILES['upfile']['size'];
}
?>
分享到:
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn