创建一个文件上传表单

允许用户从表单上传文件是非常有用的。

请看下面这个供上传文件的 HTML 表单:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<h1>表单文件的上传(小于2MB)</h1>
<form action="phpfilewrite.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>
</body>
</html>

请留意如下有关此表单的信息:

<form> 标签的 enctype 属性规定了在提交表单时要使用哪种内容类型。在表单需要二进制数据时,比如文件内容,请使用 "multipart/form-data"。

<input> 标签的 type="file" 属性规定了应该把输入作为文件来处理。举例来说,当在浏览器中预览时,会看到输入框旁边有一个浏览按钮。

注释:允许用户上传文件是一个巨大的安全风险。请仅仅允许可信的用户执行文件上传操作。

创建上传脚本  v1.0

"upload_file.php" 文件含有供上传文件的代码:

<?php
if ($_FILES["file"]["error"] > 0)
{
echo "Error: " . $_FILES["file"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "<br />";
echo "Type: " . $_FILES["file"]["type"] . "<br />";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
echo "Stored in: " . $_FILES["file"]["tmp_name"];
}
?>

通过使用 PHP 的全局数组 $_FILES,你可以从客户计算机向远程服务器上传文件。

第一个参数是表单的 input name,第二个下标可以是 "name", "type", "size", "tmp_name" 或 "error"。就像这样:

  • $_FILES["file"]["name"] - 被上传文件的名称
  • $_FILES["file"]["type"] - 被上传文件的类型
  • $_FILES["file"]["size"] - 被上传文件的大小,以字节计
  • $_FILES["file"]["tmp_name"] - 存储在服务器的文件的临时副本的名称
  • $_FILES["file"]["error"] - 由文件上传导致的错误代码

这是一种非常简单文件上传方式。基于安全方面的考虑,应当增加有关什么用户有权上传文件的限制。

上传限制 v2.0

在这个脚本中,我们增加了对文件上传的限制。用户只能上传 .gif 或 .jpeg 文件,文件大小必须小于 2MB:

<?php

if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 2000000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Error: " . $_FILES["file"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "<br />";
echo "Type: " . $_FILES["file"]["type"] . "<br />";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
echo "Stored in: " . $_FILES["file"]["tmp_name"];
}
}
else
{
echo "Invalid file";
} ?>

注释:对于 IE,识别 jpg 文件的类型必须是 pjpeg,对于 FireFox,必须是 jpeg。

保存被上传的文件 v3.0

上面的例子在服务器的 PHP 临时文件夹创建了一个被上传文件的临时副本。

这个临时的复制文件会在脚本结束时消失。要保存被上传的文件,我们需要把它拷贝到另外的位置:

<?php
header("Content-type: text/html; charset=utf-8");
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 2000000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "<br />";
echo "Type: " . $_FILES["file"]["type"] . "<br />";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />"; if (file_exists("upload/" . $_FILES["file"]["name"]))
{
echo $_FILES["file"]["name"] . " 文件已经存在 ";
}
else
{
move_uploaded_file($_FILES["file"]["tmp_name"],
"upload/" . $_FILES["file"]["name"]);
echo "Stored in: " . "upload/" . $_FILES["file"]["name"];
}
}
}
else
{
echo "文件格式不正确,或是文件过大";
}
?>

上面的脚本检测了是否已存在此文件,如果不存在,则把文件拷贝到指定的文件夹。

注释:这个例子把文件保存到了名为 "upload" 的新文件夹。需要你在php文件的当前目录下,创建一个叫做upload的文件夹,否则会报错

演示图片

html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EEXACCCLgBABF0AgAi6AAARdAEAIugCAETQBQCIoAsAEEEXACCCLgBABF0AgAi6AAARdAEAIugCAETQBQCIoAsAEEEXACCCLgBABF0AgAi6AAARdAEAIugCAETQBQCIoAsAEEEXACCCLgBABF0AgAi6AACR/wNZchcd/aRlagAAAABJRU5ErkJggg==" alt="" />

文件错误:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWYAAAB5CAIAAACFsxy7AAAEDklEQVR4nO3XS3LbMBRFQe1/Y5pkK9lDZikXPw/vgiAtu9rVA0UfEiKAQ+X1/vsHoOn17SMAfhDJAAKSAQQkAwhIBhAYJOP16jZl/87is5uX+mfZf2Tis7dcx5uHUX/f1/nfqmFH83vldB8yoZxZNoXflYz9487f9PsvXqX5eTr5vvXZF458yUk/4Upy0folVd8PD19K9+d7tIXmvkJn2M30rJ+n8phPJmNifu8YD9+l2rr9G+/hBm4uqeJQ1bgXVWDuzfWYpxf9let/8W13zG//+EuuHs/I7gad54v1sX9ys3pWLfHOmK+8vx7zLfO09FfGTfO7/NrygRYsqU0Uhgd5f7kLHf6zNe6lyzR6//47XtlFS0Z1azIm5rc5ziW3BB4W3JyLdRYtqcMVsHxjb87V33KdZGzWcfFgZkqOtko9womddsf81sNuXhZ1+HBXl9TXDdlcH/vVXO/q4Raqv0LnI5vBFLuuWYqLydg/rvfqxbOsnd9itJLxC1y699Y7pLkE99t1OJizgw/H1jl4feSzZNShyaaknYzD8579PTO/9ZGbs6Yan2zNFP5/23DJbg54thb3z0fJKJbp3OapB188mJmScr815yI618L5rccgGb/Amh+KzbvQYTg698P6aPXznQ9O3AmbD2am5ORqFNspGv9985tOzcJvwWNW/sroPLl/afoGdXiQNBDD8RQj+fqgCF/RwXi2Tr7m/nTDBD82v/0TScaPsGYKn0nG2Y33Xa7I9C7a2T+bkdS/MqaTsT9LMxn94z8wv9OnUI3PFN8omm/uv79OxvBuObx93ZGMs1N3tvTw4Iffd3jSs1M/P7/NXy79Q/FRjpdCfas/fL755P6l1+6vf5zhgIfD6P+dHfDwn1GDhgM+zOjhlbx4ua7Pbz2zneuZzj4PO12L1Wd2b+svqf1LnUN1hjTx0oLLN/tfof7xi1McxqXYoo/N78VvN/c2nmEmgIBkAAHJAAKSAQQkAwhIBhCQDCAgGUBAMoCAZAAByQACkgEEJAMISAYQkAwgIBlAQDKAgGQAAckAApIBBCQDCEgGEJAMICAZQEAygIBkAAHJAAKSAQQkAwhIBhCQDCAgGUBAMoCAZAAByQACkgEEJAMISAYQkAwgIBlAQDKAgGQAAckAApIBBCQDCEgGEJAMICAZQEAygIBkAAHJAAKSAQQkAwhIBhCQDCAgGUBAMoCAZAAByQACkgEEJAMISAYQkAwgIBlAQDKAgGQAAckAApIBBCQDCEgGEJAMICAZQEAygIBkAAHJAAKSAQQkAwhIBhCQDCAgGUBAMoCAZAAByQACkgEEJAMISAYQkAwgIBlAQDKAgGQAAckAApIBBCQDCEgGEJAMICAZQEAygIBkAAHJAAL/AMyNutLT8wlEAAAAAElFTkSuQmCC" alt="" />

php表单提交--文件的更多相关文章

  1. js实现无刷新表单提交文件,将ajax请求转换为form请求方法

    最近在做项目的时候遇到一个需要上传文件的需求,因为ajax请求是无法上传二进制文件流的,所以只能用form表单提交,而form提交有一个问题就是会使页面刷新,本文解决了form表单提交文件时页面刷新的 ...

  2. 传统表单提交文件上传,以及FormData异步ajax上传文件

    传统的文件上传: 只用将form表单的entype修改成multipart/form-data,然后就可以进行文件上传,这种方式常用并且简单. 以下是另一种方式FormData,有时候我们需要ajax ...

  3. AJAX 表单提交 文件上传

    1. AJAX = 异步 JavaScript 和 XML. AJAX 是一种用于创建快速动态网页的技术.通过在后台与服务器进行少量数据交换,AJAX 可以使网页实现异步更新.这意味着可以在不重新加载 ...

  4. jfinal form表单提交文件

    前台代码 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8&q ...

  5. Linux curl 模拟form表单提交信息和文件

    Linux curl 模拟form表单提交信息和文件   curl是一个命令行方式下传输数据的开源传输工具,支持多种协议:FTP.HTTP.HTTPS.IMAP.POP3.TELNET等,功能超级强大 ...

  6. form表单提交file

    form表单提交文件,这毫无疑问不是个好办法.但是,存在既有意义.既然H5都还让着东西存在着,呢么必然有其意义. form表单中的input type=file这个空间,不得不说奇丑无比!问题是还不能 ...

  7. Flask基础之返回值与form表单提交

    目录 1.Python 现阶段三大主流Web框架 Django Tornado Flask 对比 2.Flask的安装 3.Flask的第一个简单应用 4.Flask中的render_template ...

  8. 使用jquery form插件进行异步带文件的表单提交

    引入form插件与jquery 的js文件后 获取表单的jq对象 然后.ajaxSubmit提交表单即可 实现添加品牌的异步表单提交 function addBarandImg(formId) { $ ...

  9. c# 模拟表单提交,post form 上传文件、大数据内容

    表单提交协议规定:要先将 HTTP 要求的 Content-Type 设为 multipart/form-data,而且要设定一个 boundary 参数,这个参数是由应用程序自行产生,它会用来识别每 ...

随机推荐

  1. pyspark 内容介绍(一)

    pyspark 包介绍 子包 pyspark.sql module pyspark.streaming module pyspark.ml package pyspark.mllib package ...

  2. Function.caller、arguments.caller、argument.callee

    caller.callee是与javascript函数相关的两个属性,今天来总结下. Function.caller caller是javascript函数的一个属性,它指向调用当前函数的函数,如果函 ...

  3. angular实现跨域

    angular.js 自带jsonp,实现跨域,下面来实搜索框的下拉列表,使用百度和360分别尝试一下 百度:url截取之后红色部分需替换 :https://sp0.baidu.com/5a1Fazu ...

  4. 使用nat方式解决虚拟机联网问题

    本文全文参考:http://jingyan.baidu.com/album/4e5b3e1957979d91901e24f1.html?picindex=1,谢谢 对于很多的linux初学者来说,最开 ...

  5. Js 跨域CORS报错 Response for preflight has invalid HTTP status code 405

    问题 公司项目H5调用接口遇到Response for preflight has invalid HTTP status code 405这样的错误,是使用PUT方式提交请求接口.Content-T ...

  6. Java TreeSet集合排序 && 定义一个类实现Comparator接口,覆盖compare方法 && 按照字符串长度排序

    package TreeSetTest; import java.util.Iterator; import java.util.TreeSet; import javax.management.Ru ...

  7. C# 数据类型 数据转换 自己的见解和方式

    数据类型分为:基本数据类和引用类型, 基本数据类型又分为整型,浮点型,字符型,布尔型. 引用类型又分为:字符串型,日期时间,枚举类型,结构类型. int long float = 10.5f; dou ...

  8. HttpClient请求详解

    HttpClient 是 Apache Jakarta Common 下的子项目,可以用来提供高效的.最新的.功能丰富的支持 HTTP 协议的客户端编程工具包,并且它支持 HTTP 协议最新的版本和建 ...

  9. js加密

    在项目中,经常需要使用加密来保障数据的安全性,虽然可以通过在后台加密再传给前台,但这样无疑会增加后台的服务器的压力.所以在js中使用加密算法也就应运而生了. 一.base64加密 需要引入base64 ...

  10. Cassandra issue - "The clustering keys ordering is wrong for @EmbeddedId"

    在Java连接Cassandra的情况下, 当使用组合主键时, 默认第一个是Partition Key, 后续的均为Clustering Key. 如果有多个Clustering Key, 在Java ...