|
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <!-- #include file="conn.asp" -->
<!-- #include file="inc/function.asp" --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta http-equiv="refresh" content="300;URL=steal_house.asp"> </head>
<body> <% on error resume next ' Server.ScriptTimeout = 999999 '======================================================== '字符编码函数 '==================================================== Function BytesToBstr(body,code) dim objstream set objstream = Server.CreateObject("adodb.stream") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset =code BytesToBstr = objstream.ReadText objstream.Close set objstream = nothing End Function
'取行字符串在另一字符串中的出现位置 Function Newstring(wstr,strng) Newstring=Instr(lcase(wstr),lcase(s [1] [2] [3] [4] [5] [6] [7] 下一页 |