先说下我对form标签的理解form 标签 有个属性是 enctype
它有几个值,有2个经常用
multipart/form-data
application/x-www-form-urlencoded一段html
提交的时候设置不同的enctype
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head><body>
<form method="post" enctype="application/x-www-form-urlencoded">
<div>
     <input type="text"  name="aa"/>
    </div>
<div>
     <input type="text"  name="bb"/>
    </div>
<div>
     <input type="text"  name="cc"/>
    </div>
    <div>
     <input type="submit" value="提交"/>
    </div>        
</form>
</body>
</html>multipart/form-data
form提交的时候
数据是隔开的 不会合并成一行 如图
application/x-www-form-urlencoded
form提交的时候
数据是会被合并在一起的  如图
我在做curl的时候
Content-Type: application/x-www-form-urlencoded
我这是成这样了    隔开的
为什么会这样了  如图curl 是模拟post提交一个数据  
提交的页面在
http://www.web-youhua.com/html/web-youhua-198603159.html
请求的地址是
http://www.web-youhua.com/include/comment_save.asp?comment_add=add求解惑啊........