已经跳转到下个asp,所以上一问题已解决,但新问题
Set hot_rs=dbconn.execute("select top 10 id,doctitle,clicknum from book where Colname <> 'qwzj' order by clicknum desc")
运行时说
缺少对象: 'dbconn'
LTER,CAST|CAST,EXISTS|EXISTS,XP_|XP_,SHELL|SHELL"
for each Key_one in split(Key_BadWord,",")
Key_one_1=left(Key_one,instr(Key_One,"|")-1)
Key_one_2=mid(Key_one,instr(Key_One,"|")+1)
c_str=Replace(c_str,Key_one_1,Key_one_2,1,-1,1)
next
CheckStr=c_str
End Function
Price_Cell="价格单位,平方米,米,个,套,斤,公斤,克,吨"
function to_html(a1)
a1=trim(a1)
If Isnull(a1) Then
to_html = ""
Exit Function
End If
a1=lcase(a1)
a1=replace(a1,"[h]","<a href=")
a1=replace(a1,"[/h]"," target=_blank><font color=blue><b>")
a1=replace(a1,"[/a]","</b></font></a>")
a1=replace(a1,"[c]","<center>")
a1=replace(a1,"[/c]","</center>")
a1=replace(a1,"","<b>")
a1=replace(a1,"","</b>")
a1=replace(a1,"","<u>")
a1=replace(a1,"","</u>")
a1=replace(a1,chr(13)&chr(10),"<br>")
to_html=a1
End function
Function un_Checkstr(Str)
Str=trim(Str)
If Isnull(Str) Then
un_Checkstr = ""
Exit Function
End If
Str = Replace(Str,"",Chr(0))
Str = replace(Str,"''","'")
Str = replace(Str,""",chr(34),1,-1,1)
Str = replace(Str, "'",CHR(39),1,-1,1)
Str = replace(replace(Str,"<","<",1,-1,1),">",">",1,-1,1)
Str = Replace(Str, "=", "=")
Str = Replace(Str,";",";")
Str = Replace(Str, "“", """")
Str = Replace(Str,"<br>",Chr(13),1,-1,1)
un_Checkstr = Replace(Str,"''","'")
End Function
sub Htm_Err(Htm_ShowWord,Htm_ShowHref,Htm_Ifend)
'信息提示!
if trim(Htm_ShowWord)<>"" then Response.write "<table
bgcolor='#FFFF66'><td height=100><center><b>"&Htm_ShowWord&"</td></tr></table>"
if trim(Htm_ShowHref)<>"" then
Response.write "<meta http-equiv='refresh'
<font color=#000000>返 回</font> ]</a>"
end if
if Htm_Ifend=1 then Response.end
end sub
function unchangechr(str)
unchangechr=replace(replace(replace(replace(str,"<","<"),">",">"),chr