查看所有的Server Variables的環(huán)境變量
更新時(shí)間:2007年02月07日 00:00:00 作者:
下列代碼保存為ASP文件就可以了
<table border=0 cellpadding=0 cellspacing=1 bgcolor="#d0c0F0">
<tr>
<td><table border=0 cellpadding=3 cellspacing=0 bgcolor="#F0F0F8">
<tR bgcolor="#d0c0f0">
<td><b>Variable Name</b></td>
<td><b>Value</b></td>
</tr>
<%
With response
For Each sKey In Request.ServerVariables
.Write "<tR>" & vbCrLf
.Write vbTab & "<td valign=""top""><b>" & sKey & "</b></td>" & vbCrLf
.Write vbTab & "<td>" & Request.ServerVariables(sKey) & "</td>" & vbCrLf
.Write "</tR>" & vbCrLf
Next
End With
%>
</table></td>
</tr>
</table>
<table border=0 cellpadding=0 cellspacing=1 bgcolor="#d0c0F0">
<tr>
<td><table border=0 cellpadding=3 cellspacing=0 bgcolor="#F0F0F8">
<tR bgcolor="#d0c0f0">
<td><b>Variable Name</b></td>
<td><b>Value</b></td>
</tr>
<%
With response
For Each sKey In Request.ServerVariables
.Write "<tR>" & vbCrLf
.Write vbTab & "<td valign=""top""><b>" & sKey & "</b></td>" & vbCrLf
.Write vbTab & "<td>" & Request.ServerVariables(sKey) & "</td>" & vbCrLf
.Write "</tR>" & vbCrLf
Next
End With
%>
</table></td>
</tr>
</table>
相關(guān)文章
ASP編程入門(mén)進(jìn)階(廿一):DAO SQL之建立數(shù)據(jù)庫(kù)表
ASP編程入門(mén)進(jìn)階(廿一):DAO SQL之建立數(shù)據(jù)庫(kù)表...2007-01-01保證asp葉面一定不會(huì)出現(xiàn)亂碼 UTF8
保證asp葉面一定不會(huì)出現(xiàn)亂碼 UTF8...2006-10-10ASP編程入門(mén)進(jìn)階(十三):Ad & Content Rotator
ASP編程入門(mén)進(jìn)階(十三):Ad & Content Rotator...2007-01-01asp(vbs)Rs.Open和Conn.Execute的詳解和區(qū)別及&H0001的說(shuō)明
這篇文章主要介紹了asp(vbs)Rs.Open和Conn.Execute的詳解和區(qū)別及&H0001的說(shuō)明,需要的朋友可以參考下2016-11-11