Home > Backend Development > PHP Tutorial > php 表单 file类型的不提交是为个啥?解决思路

php 表单 file类型的不提交是为个啥?解决思路

WBOY
Release: 2016-06-13 09:58:54
Original
994 people have browsed it

php 表单 file类型的不提交是为个啥?

HTML code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->    
Copy after login
logo:

PHP code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> dump($_POST);//没有logo710项  如果把type="file" 改为 type="text" 就有logo710项了这是为个啥?
Copy after login

 

------解决方案--------------------
file类型用$_FILES接收
------解决方案--------------------
用type="file"的话。

就用$_FILES。

你打印下$_FILES看看~
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