Home >Backend Development >PHP Tutorial >关于上传资料的疑惑

关于上传资料的疑惑

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:28:43974browse

关于上传文件的疑惑
最近在听php视频,其中有一个代码不理解
if (is_uploaded_file($_FILES['upfile']['tmp_name'])){

$upfile=$_FILES["upfile"];

}


主要是取值的问题,比如说upfile我知道是从表单取的值,但是tmp_name我就不知道怎么取到的值,还请大牛们指教,谢谢!

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