Ò»¸öASPµÄ¸ß¼¶Ä£°åÒýÇæ
Õâ¸öÄ£°åÒýÇæ±È½Ï·½±ã,¸úHTML½áºÏÁË
Class template
Private c_Char, c_Path, c_FileName, c_Content, c_PageUrl, c_CurrentPage, c_PageStr, ReplacePageStr
Private TagName
' ***************************************
' ÉèÖñàÂë
' ***************************************
Public Property Let Char(ByVal Str)
c_Char = Str
End Property
Public Property Get Char
Char = c_Char
End Property
' ***************************************
' ÉèÖÃÄ£°åÎļþ¼Ð·¾¶
' ***************************************
Public Property Let Path(ByVal Str)
c_Path = Str
End Property
Public Property Get Path
Path = c_Path
End Property
' ***************************************
' ÉèÖÃÄ£°åÎļþÃû
' ***************************************
Public Property Let FileName(ByVal Str)
c_FileName = Str
End Property
Public Property Get FileName
FileName = c_FileName
End Property
' ***************************************
' »ñµÃÄ£°åÎļþ¾ßÌå·¾¶
' ***************************************
Public Property Get FilePath
If Len(Path) > 0 Then Path = Replace(Path, "\", "/")
If Right(Path, 1) <> "/" Then Path = Path & "/"
FilePath = Path & FileName
End Property
' ***************************************
' ÉèÖ÷ÖÒ³URL
' ***************************************
Public Property Let PageUrl(ByVal Str)
c_PageUrl = Str
End Property
Public Property Get PageUrl
PageUrl = c_PageUrl
End Property
' ***************************************
' ÉèÖ÷ÖÒ³ µ±Ç°Ò³
' ***************************************
Public Property Let CurrentPage(ByVal Str)
c_CurrentPage = Str
End Property
Public Property Get CurrentPage
CurrentPage = c_CurrentPage
End Property
' ***************************************
' Êä³öÄÚÈÝ
' ***************************************
Public Property Get Flush
Response.Write(c_Content)
End Property
' ***************************************
' Àà³õʼ»¯
' *******************
Ïà¹ØÎĵµ£º
<%@ Language=VBScript CODEPAGE=65001%>
<% Response.Buffer=True %>
<%
'Collaboration Data Objects, version 1.2.1(CDO)
'http://www.microsoft.com/downloads/details.aspx?FamilyId=2714320D-C997-4DE1-986F-24F081725D36&displaylang=en
'-----------------µÚÒ»²½ ......
´ó¼Ò¶¼ÖªµÀÔÚBASICÓïÑÔÖУ¬ÏµÍ³ÎªÎÒÃÇÌṩÁËÐí¶à±ê×¼º¯Êý£¬¶ø“È¡Õûº¯Êý”¾ÍÊÇÆäÖÐÒ»¸ö·Ç³£ÖØÒªµÄº¯Êý¡£
Ò»¡¢ “È¡Õûº¯Êý”µÄ¸ñʽºÍ¹¦ÄÜ¡£
1¡¢¸ñʽ£ºINT£¨X£©
2¡¢¹¦ÄÜ£ºÈ¡²»´óÓÚXµÄ×î´óÕûÊý
3¡¢ËµÃ÷£ºÆäÖÐINTΪº¯ÊýÃû£¬²»ÔÊÐí¸Ä±ä£¬XΪ×Ô±äÁ¿£¬ÆäÐÎʽ¶àÖÖ¶àÑù£¬¿ÉÒÔÊÇÊýÖµ³£Á¿¡¢ÊýÖµ±äÁ¿¡¢Êý ......
³ý·ÇÄúÒÔϵͳÕÊ»§µÄÉí·ÝµÇ½µ½·þÎñÆ÷£¨ÔÚä¯ÀÀÆ÷»·¾³ÖÐÒ²ÊÇ¿ÉÒÔʵÏÖ£©£¬»òÕßÖ÷»ú¶Ë½øÐÐÁËÁ¼ºÃµÄȨÏÞÅäÖ㬷ñÔò±¾ÎÄÉæ¼°µÄ¹¦ÄÜÊǺÜÄÑʵÏֵġ£ÒòΪÎÒÃÇͨ¹ýiis·ÃÎÊij¸öÒ³Ãæʱ£¬Ò»°ãÊÇiisÄäÃûÕÊ»§µÄÉí·Ý£¬ÔÚ´ó¶àÊýÇé¿öÏ£¬aspµÄWScript.ShellÊDZ»½ûÓõģ¬ÒòΪËüÓкܴóµÄ°²È«Òþ»¼¡£
¡¡¡¡ÒªÏëʵÏÖÕâÖÖ¹¦ÄÜ£¬Ê×ÏÈÒªµÃµ½Rar³ ......
asp·ÀÖ¹ÍøÕ¾¹ÒÂíÕÒ°²´ï»¥Áª
Äú»¹ÔÚµ£ÐÄÍøÕ¾±»¹ÒÂí¡¢±»ºÚÂ𣿰²´ï»¥Áª(www. ......
Ò»¡¢Request ¶ÔÏó
¿ÉÒÔʹÓà Request ¶ÔÏó·ÃÎÊÈκλùÓÚ HTTP ÇëÇ󴫵ݵÄËùÓÐÐÅÏ¢£¬°üÀ¨´Ó HTML ±í¸ñÓà POST ·½·¨»ò GET ·½·¨´«µÝµÄ²ÎÊý¡¢cookie ºÍÓû§ÈÏÖ¤¡£
Request[.¼¯ºÏ|ÊôÐÔ|·½·¨](±äÁ¿)
1¡¢Form
Form ¼¯ºÏͨ¹ýʹÓà POST ·½·¨µÄ±í¸ñ¼ìË÷ÓÊË͵½ HTTP ÇëÇóÕýÎÄÖеıí¸ñÔªËصÄÖµ¡£
Request.Form(element)[(i ......