Home  >  Article  >  Backend Development  >  关于非常提交的有关问题,请各位看看

关于非常提交的有关问题,请各位看看

WBOY
WBOYOriginal
2016-06-13 12:40:26964browse

关于非常提交的问题,请各位看看
如下代码:

<br />
<form name="form1" method="post" action="ok.php"><br />
<input type="text" name="phone" class="phone" /><br />
<input type="submit" name="okbtn" class="btn" value="" /><br />
<input type="hidden" name="save" value="1" /><br />
</form><br />

当点击提交按钮的时候,我判断save==1就说明是正常提交可通过,但是如果直接用"ok.php?save=1"也能通过,请问如何才能不让人直接用"ok.php?save=1"来提交????

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn