 |
|
 |
| |
What's
New? |
|
| |
|
|
| |
Oncoming wave with web
services - Everything you want to know about Web services, standards
and tools to develop them. - A New article
Prices
down!- Prices has been slashed down up to 20%. See the new development
rates.
News
section: A new news section has been added. We will be updating
regularly with latest trends and links. Keep an eye on the section.
Site
Maintenance - We will take care your web site. Keep them updated
and be worry free. New service from Macronimous. |
|
 |
|
 |
|
 |
|
 |
| |
Back to Code snippet Home
| 3.
Show server variables |
This script displays all the server variables in a tabled
format. |
<table
width="70%" align="center">
<tr bgcolor="#FF9900">
<td width="25%">
<div align="center"><font size="2"><b><font
face="Verdana, Arial, Helvetica, sans-serif">ServerVariable</font></b></font></div>
</td>
<td width="75%">
<div align="center"><font size="2"><b><font
face="Verdana, Arial, Helvetica, sans-serif">Value</font></b></font></div>
</td>
</tr>
<%
For Each Item in Request.ServerVariables %>
<tr>
<td bgcolor=#FF9900 width="25%"><font
size="1" face="Verdana, Arial, Helvetica,
sans-serif"><%= Item %></font></td>
<td width="75%"> <font size="1"
face="Verdana, Arial, Helvetica, sans-serif"><%=Request.ServerVariables(Item)%></font></td>
</tr>
<%
Next
%>
</table>
|
|
Explanation:
The
value of all the server variables are displayed in
a table, by the statement Request.ServerVariables(Item).
As it is in the For Each...Next loop it displayes
all the values one by one.
|
|
|
|
 |
|
 |
| |
Home
I About
Us I
Services
I Price
Quote I
Resources
I Contact
Us
|
|
|