防止重複提交表單————表單令牌的使用

前臺form表單裏添加以下:php <input type="hidden" name="__token__" value="{$Request.token}"/> 後臺html //apalication/index/controller/index.php/test $posts = input('post.')['data']; //驗證 $rule
相關文章
相關標籤/搜索