WP有好多种防垃圾/机器人留言的插件,而且相信大家都有自己的方法,依家讲一个用html5自身特性0服务器资源占用轻松防spam的方法。首先来睇一段旧的form提交代码<form action="1.php" method="get"><input type="text" name="xxx" /><input type="submit" value="submit" /></form>再来睇一段用html5新特性的form提交代码<form action="1.php" method="get" id="fff1... [查看更多]
利用html5 input的新属性form来防垃圾留言
教你一个前卫的用html5的input元素的自身特性0服务器资源占用轻松防spam的方法。