微擎检验表单提交
checksubmit('submit')
$_W['ispost']
$_W['isajax']
if (checksubmit('submit')) { exit('表单提交了'); }if ($_W['ispost']) { exit('post 方式提交');}if ($_W['isajax']) { exit('ajax 方式提交');}
参考链接