asp¼òµ¥ÎÊÌâ
СµÜ×î½üʹÓÃÁËÒ»¸ö±ðÈËдµÄ»ñÈ¡°Ù¶ÈÏà¹ØËÑË÷´ÊµÄ´úÂ룬·¢ÏÖ´úÂë±È½Ï¾«¼ò£¬»ñÈ¡µÄÊǰٶÈËÑË÷½á¹ûÒ³ÃæµÄÏà¹ØËÑË÷½á¹û¡£ÒòΪÎұȽϲˣ¬¿´ÁË´úÂë°ëÌìûÓп´¶®ËûÊÇÔõôÑùÌáÈ¡³öÀ´µÄÕâЩ´Ê£¬ÏÂÃæ·¢´úÂëÏ£Íû¸ßÊÖ°ïÎÒ½âÊÍһϡ£
HTML code:
<%
Dim splitStr,splitStrs
splitStrs = "<A href=../word.asp?key=" '¿ªÊ¼
splitStrss = " target=_blank>" 'Öмä
splitStr = "</A><br>" '½áÊø
Function GetPage(url,charset)
Set xhr = Server.CreateObject("Microsoft.XMLHTTP")
xhr.open "Get",url,False
xhr.send
GetPage = BytesToBstr(xhr.responseBody,charset)
End Function
Function BytesToBstr(body,charSet)
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 = charSet
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End Function
Function getBaidu(ByVal key)
url="http://www.baidu.com/baidu?word=" & Server.urlEncode(key)
start = "<td style=""font-size:14px;font-weight:bold;height:40px;width:70px;"">Ïà¹ØËÑË÷</td>"
result = GetPage(url,"gb2312")
getBaidu = ""
If InSt
Ïà¹ØÎÊ´ð£º
<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'×¢Òâ±äÁ¿ ......
ÎÒÔ±¾ÊÇѧjspµÄ¿ÉÕÒÁËÒ»¸öASPµÄ¹«Ë¾£¡ÎÒÒªÖØÐÂѧϰ£¡ ѧϰASP£¡ Ï£Íû´ó¼ÒÍÆ¼öÒ»±¾ºÃÊ鏸ÎÒлл
<ASP3.0¸ß¼¶±à³Ì> ÍøÉÏÓеç×Ó°æµÄ
·¢ÏÖÍøÉÏaspÐÅϢʱ×î¶àµÄ ±ÈÆäËûµÄ¶¼¶àºÃ¶à
yun
ÕÒ±¾ÓÐÓ¦ÓÃÊÂÀýµÄA ......
Îļþ£ºfolder.inc
HTML code:
<%
Dim folderini,pos,pageName
fPath = Request.ServerVariables("PATH_TRANSLATED")
pos = instrRev(fPath,"\")
folderini = Left(fPath,pos)+&qu ......
½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£
µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£
¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£
¶÷ÔõôȡÏûÄØ£¿
Òªµ ......
ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......