Pleeeez use

<html><head>
<TITLE>serverall.asp</TITLE></head>
<body bgcolor="#FFFFFF">
<%
Response.Write("<P><B>Server Variables</b><br>")
BlankVars="<P><B>Blank Server Variables</b><br>" & vbcrlf
quote=chr(34)
For Each Key in Request.ServerVariables
   If instr(Key,"_ALL")+instr(key,"ALL_")=0 then
      tempvalue=trim(request.servervariables(Key))
      If len(tempvalue)=0 then
         BlankVars=BlankVars & Key & ", "
      Else
         response.write "request.servervariables(" & quote
         response.write Key & quote & ") "
         response.write " =<br><B>" & tempvalue & "</b><p>" & vbcrlf
      End If
   end if
Next
response.write mid(BlankVars,1,len(BlankVars)-2)
%>
</body></html>

If you are going to do that. The display will look much nicer.

That nicely formatted server script was from
http://www.learnasp.com/learn/serverall.asp


On 8/15/05, Bob Filipiak <[EMAIL PROTECTED]> wrote:
>  Save the following as allhttp.asp and run it:
>  <% @language = JavaScript %>
>  <HTML>
>  <HEAD>
>  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
>  <TITLE>HTTP Server Variables</TITLE>
>  <link rel='P3Pv1' href='/w3c/p3ppolicy.xml'></HEAD></HEAD>
>  <BODY>
>    <P ALIGN=CENTER><FONT SIZE=5><B>HTTP Server Variables</B></FONT></P>
>    <TABLE BORDER>
>    <TR><TH>Variable</TH><TH>Value</TH></TR>
>    <%
>      // create new Enumerator object
>      http = new Enumerator(Request.ServerVariables)
>      // iterate through collection
>      while (!http.atEnd(http))
>      {
>        // get one item
>        i = http.item();
>        // show it and it's value
>        Response.Write('<TR><TD>' + i + '</TD><TD>' + 
>  Request.ServerVariables(i) + '</TD></TR>')
>        // get next item
>        http.moveNext()
>      }
>    %>
>    </TABLE>
>  </BODY>
>  </HTML>
>  
>  
>  ----- Original Message ----- 
>  From: "chalcrow4" <[EMAIL PROTECTED]>
>  To: <[email protected]>
>  Sent: Monday, August 15, 2005 6:41 AM
>  Subject: [AspClassicAnyQuestionIsOk] Identifying server using ASP
>  
>  
>  Can anyone please tell me if it's possible to identify the current
>  server (by name or IP) that's running the script?  If so, how (or
>  clues)?  Love to the world on receipt of a positive response :)
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  Yahoo! Groups Links
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  ________________________________
>  YAHOO! GROUPS LINKS 
>  
>  
>  Visit your group "AspClassicAnyQuestionIsOk" on the web.
>   
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>   
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
>  
>  ________________________________
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12huum6ia/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124122995/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to