html
<input type="hidden" name="token" value="{$_SESSION['token']}" />
php
if($_POST['token'] != $_SESSION['token']) {
tsNotice('非法操作!');
}
时间: 2024-11-03 07:49:01
html
<input type="hidden" name="token" value="{$_SESSION['token']}" />
php
if($_POST['token'] != $_SESSION['token']) {
tsNotice('非法操作!');
}