查看所有的Server Variables的環(huán)境變量
更新時間: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>
相關文章
ASP編程入門進階(廿一):DAO SQL之建立數(shù)據庫表
ASP編程入門進階(廿一):DAO SQL之建立數(shù)據庫表...2007-01-01ASP編程入門進階(十三):Ad & Content Rotator
ASP編程入門進階(十三):Ad & Content Rotator...2007-01-01asp(vbs)Rs.Open和Conn.Execute的詳解和區(qū)別及&H0001的說明
這篇文章主要介紹了asp(vbs)Rs.Open和Conn.Execute的詳解和區(qū)別及&H0001的說明,需要的朋友可以參考下2016-11-11