Request.ServerVariables ASP»·¾³ ·þÎñÆ÷±äÁ¿
±¾»úip[¿Í»§¶Ë]:
request.servervariables("remote_addr")
´ÓÄĸöÒ³Ãæתµ½µ±Ç°Ò³ÃæµÄ£º
Request.ServerVariables("HTTP_REFERER")
µÃµ½±¾Ò³µØÖ·£º
<%="http://" + Request.ServerVariables("SERVER_NAME") + ":" + Request.ServerVariables("SERVER_PORT") + request.ServerVariables("script_name")+"?"+request.ServerVariableS("QUERY_STRING")%>
<%=server.URLencode("http://" + Request.ServerVariables("SERVER_NAME") + ":" + Request.ServerVariables("SERVER_PORT") + request.ServerVariables("script_name")+"?"+request.ServerVariableS("QUERY_STRING"))%>
±¾»úip:<%=request.servervariables("remote_addr")%>
·þÎñÆ÷Ãû:<%=Request.ServerVariables("SERVER_NAME")%>
·þÎñÆ÷IP:<%=Request.ServerVariables("LOCAL_ADDR")%>
·þÎñÆ÷¶Ë¿Ú:<%=Request.ServerVariables("SERVER_PORT")%>
·þÎñÆ÷ʱ¼ä:<%=now%>
IIS°æ±¾:<%=Request.ServerVariables("SERVER_SOFTWARE")%>
½Å±¾³¬Ê±Ê±¼ä:<%=Server.ScriptTimeout%>
±¾Îļþ·¾¶:<%=server.mappath(Request.ServerVariables("SCRIPT_NAME"))%>
·þÎñÆ÷CPUÊýÁ¿:<%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%>
·þÎñÆ÷½âÒëÒýÇæ:<%=ScriptEngine & "/"& ScriptEngineMajorVersion&"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %>
·þÎñÆ÷²Ù×÷ϵͳ:<%=Request.ServerVariables("OS")%>
Ö§³ÖµÄÎļþÀàÐÍ£º<%=Request.ServerVariables("HTTP_Accept")%>
·ÃÎʵÄÎļþ·¾¶£º<%=Request.ServerVariables("HTTP_url")%>
Óû§´úÀíµÄÐÅÏ¢£º<%=Request.ServerVariables("HTTP_USER_AGENT")%>
»ñÈ¡urlÖеÄÎļþÃûºÍ´«¹ýÀ´µÄÖµ:request.ServerVariables("script_name")+"?"+request.ServerVariableS("QUERY_STRING")
ÆäÖÐServerVariables¾ÍÊÇ·þÎñÆ÷µÄ»·¾³±äÁ¿ÁË£¬¸Ã±äÁ¿°üº¬µÄÄÚÈݱȽ϶࣬ÎÒÃÇͬÑùÏȲÉÓÃforÑ»·½øÐбéÀú²é¿´Ï¡£
<%for each i in request.servervariables%>
<%=i%>:
<%=request.servervariables(i)%>
<hr>
<%Next%>
Request.
Ïà¹ØÎĵµ£º
µÚÈý¸öÀà,ÊÇÊý¾Ý¿âÁ¬½ÓÀà,Õâ¸ö¿ÉÒÔ¿´×öÊǸºÔð×îµ×²ãµÄÊý¾Ý¿â·ÃÎʵÄÒ»¸ö¶ÔÏó,²¢²»ÊôÓÚÊý¾Ý²ã. ËüÖ»ÊÇÒ»¸ö¹¤¾ß,¶ø²»Éæ¼°µ½ÈκιØÓÚÊý¾Ý¿âÄÚÈݵÄÂß¼.
ÔÙ´ÎÖØÉêÒ»ÏÂ,ÕâÈý¸öÀà,Ö»ÊÇÔÚASPÈý²ã¼Ü¹¹ÖеÄÈý´ó»ù±¾¶ÔÏó,ÏóÕâÖÖ¶ÔÏó,ÎÒÔÚ¾ßÌåµÄÒµÎñ ......
µÚ¶þ¸öÖØÒªµÄÀà,×÷ÓÃÊÇÀàÐÍת»»,ÀàÃûCon_Convert.ÔÚÒ³Ãæ´úÂëµÄ¿ªÍ·ÊµÀý»¯,¶ÔÏóÃûΪConvert,½èÓÃÁË.netµÄÀàÐÍת»»µÄ¶ÔÏóÃû³Æ.
Õâ¸öÀàÖ÷Òª½â¾öÔÚÀàÐÍת»»Ê±,Èç¹ûÖ±½ÓʹÓÃÀàÐÍת»»º¯Êý,»áÒòΪ±äÁ¿Îª¿Õ»òÕ߸ñʽ²»¶Ô¶øµ¼Ö³ÌÐò±¨´í,¶øÕâÖÖ±¨´ ......
<%
Response.Buffer = true
Response.Clear
dim url
Dim fso,fl,flsize
dim Dname
Dim objStream,ContentType,flName,isre,url1
Dim strFileName
strFileName=replace(replace(Request("file"),"\",""),"/","") '´«²Î
strFileName="/files/"&strFileName ' ¸Ä³ÉÄãÄãÎļþµÄ´æ ......
¼ÇµÃÔÚ½¨Á¢Ò»¸öÎļþ¼Ð"updata"
saveannounce_upload.asp ÉÏ´«Ò³
------------------------------------
<html>
<head>
<style type="text/css
">
body {font-size:9pt;}
input {font-size:9pt;}
</style>
<title>ÎļþÉÏ´«</title>
</head& ......
ÔÎÄÒýÓÃ:
http://www.17558.net/cmd.asp?act=tb&id=16&key=43840
ÔÎĵØÖ·:http://www.17558.net/post/16.html
żÊÇÒ»¸öµ×²ãµÄASP¼¼ÊõÈËÔ±(ÊôÓÚ°ë·³ö¼ÒµÄÄÇÖÖ,ÒÔÇ°ÊÇÒ»ÃûÍøÂç¼¼ÊõÈËÔ±),×î½ü²ÎÓëÖÆ×÷Ò»¸öCRMϵͳ,¼Ü¹»²ÉÓÃASP+SQL,¿¼Âǵ½ÒÔºóÊý¾Ý²éѯЧÂÊÎÊÌâ,ËùÒÔÔÚÍøÉÏÕÒÁËÒ»¸ö AspÊý¾Ý²Ù×÷×é¼þ(°ÙÍò¼¶·ÖÒ³) , ......