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

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

WBOY
Release: 2016-06-13 12:40:26
Original
1021 people have browsed it

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

<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 />
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template