如何从表单发送额外的变量?

时间:2013-07-15 21:05:52

标签: php html

在我的php脚本中,我有其他变量,我不希望用户看到_post从另一个PHP脚本发送。我该怎么做?

2 个答案:

答案 0 :(得分:13)

Hidden input字段:

<input type="hidden" name="var" value="..." />

答案 1 :(得分:2)