哈哈,搞定了。
用系统的标签{$GetPictureSearch},那调用的是JS代码。要改
ks_cls/kesion.administratorcls.asp文件里的,增加显示验证码。
SearchJS = SearchJS & " <input name=""KeyWord"" type=""text"" class=""textbox"" value=""关键字""this.select();""/>" & vbCrLf
SearchJS = SearchJS & " <input name=""Verifycode"" type=""text"" class=""textbox"" value=""""this.select();""/><IMG style=""cursor:pointer;"" src=""../plus/verifycode.asp"" align=""absmiddle"">" & vbCrLf
SearchJS = SearchJS & " <input name=""ChannelID"" value=""" & channelid & """ type=""hidden"" />" & vbCrLf
plus/search.asp里
找到
Sub PhotoSearch()
Dim SqlStr,Param,ValidCode
ValidCode=KS.S("Verifycode")
IF ValidCode<>Trim(Session("Verifycode")) then
Response.Write "<script>alert('验证码输入不正确!');history.back();</script>"
exit Sub
end if
SqlStr="Select * From " & KS.C_S(Channelid,2)
红色部分是添加的。嘿嘿!