PHP上传文件小例子

WBOY
Release: 2016-06-23 13:39:46
Original
746 people have browsed it

<?phpecho $_FILES['hello']['error'];echo "start".$_FILES['hello']['type'];echo $_FILES['hello']['size'];echo $_FILES['hello']['tmp_name']."end";move_uploaded_file($_FILES['hello']['tmp_name'], "./windows.pdf");echo "finish!!";?><p><font color="red">hello</font></p><?php ?>
Copy after login

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template