防止重复提交表单————表单令牌的使用

前台form表单里添加以下:php <input type="hidden" name="__token__" value="{$Request.token}"/> 后台html //apalication/index/controller/index.php/test $posts = input('post.')['data']; //验证 $rule
相关文章
相关标签/搜索