PJBlog防群垃圾评论和留言的简易方法
作者:Linmoo 日期:2007-05-20
发现一个规律,群发的垃圾信息,都是不注册直接发表的,所以,在PJBlog的后台管理中设置一下,只允许注册用户才能发表评论,就可以了.
留言薄没这么简单,要打开plugins/bookaction.asp,找到标注的发表留言模块,改为如下内容:
程序代码
留言薄没这么简单,要打开plugins/bookaction.asp,找到标注的发表留言模块,改为如下内容:
程序代码function postMsg
if not memName=empty then
dim username,post_Message,validate,hiddenreply,face
dim password,LastMSG,FlowControl
username=trim(CheckStr(request.form("username")))
if not memName=empty then
dim username,post_Message,validate,hiddenreply,face
dim password,LastMSG,FlowControl
username=trim(CheckStr(request.form("username")))
<$NewMsg$>





