Response.write "<hr size=1>" Response.write "出错信息:<li><font color=#ff0000>"&err.description&"</font>" Response.write "<hr size=1>" Response.write "出错代码:<li><font color=#0000ff>"&Htmlencode(ExString)&"</font>" Response.write "<hr size=1></div>" end if on error goto 0 end SUB
function HTMLEncode(reString) dim Str:Str=reString if not isnull(Str) then Str = replace(Str, ">", ">") Str = replace(Str, "<", "<") Str = Replace(Str, CHR(32), " ") Str = Replace(Str, CHR(9), " ") Str = Replace(Str, CHR(34), """) ' " Str = Replace(Str, CHR(39), "'") ' ' Str = Replace(Str, CHR(13), "") Str = Replace(Str, CHR(10) & CHR(10), "</P><P> ") Str = Replace(Str, CHR(10), "<BR> ") HTMLEncode = Str else HTMLEncode="" end if end function
'断点调试 num=0 中断 S 上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >> |