curl post的时候 修改请求头 遇到点东西 理解不了
先说下我对form标签的理解
form 标签 有个属性是 enctype
它有几个值,有2个经常用
multipart/form-data
application/x-www-form-urlencoded
一段html
提交的时候设置不同的enctype
<!DOCTYPE html><br />
<html xmlns="http://www.w3.org/1999/xhtml"><br />
<head><br />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br />
<title></title><br />
</head><br />
<br />
<body><br />
<form method="post" enctype="application/x-www-form-urlencoded"><br />
<div><br />
<input type="text" name="aa"/><br />
</div><br />
<div><br />
<input type="text" name="bb"/><br />
</div><br />
<div><br />
<input type="text" name="cc"/><br />
</div><br />
<div><br />
<input type="submit" value="提交"/><br />
</div> <br />
</form><br />
</body><br />
</html>



没有留意过这个东东,学习啦
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号