我可以使用POST方法在表单中输入GET参数吗

时间:2018-07-11 23:03:42

标签: html http-post html-form

一个表单是否可能包含多个输入,提交表单时,某些输入值会进入帖子正文,而某些输入值会进入URL?

<form action=sample.php method=POST accept-charset=gbk>
  <input name=a />
  <input name=b />
</form>

提交时,它将b = someval张贴到sample.php?a = itsval

-

我正在处理旧系统。后端从get中读取一些参数,从post中读取一些参数,而不使用utf-8。没有人可以更改其代码。

0 个答案:

没有答案