SysCome.asp
资源名称:1.rar [点击查看]
上传用户:yrf020
上传日期:2007-07-24
资源大小:1287k
文件大小:6k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

HTML/CSS

  1. <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
  2. <% Option Explicit %>
  3. <HTML xmlns="http://www.w3.org/1999/xhtml">
  4. <HEAD>
  5. <TITLE>欢迎进入系统后台</TITLE>
  6. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
  7. <META NAME="copyright" CONTENT="Copyright 2006-2008 - Hokilly.com-STUDIO" />
  8. <META NAME="Author" CONTENT="红金羚软件,www.hokilly.com" />
  9. <META NAME="Keywords" CONTENT="" />
  10. <META NAME="Description" CONTENT="" />
  11. <link rel="stylesheet" href="Images/CssAdmin.css">
  12. <style type="text/css">
  13. <!--
  14. .STYLE1 {color: #3399FF}
  15. .STYLE2 { color: #009900;
  16. font-weight: bold;
  17. }
  18. -->
  19. </style>
  20. </HEAD>
  21. <!--#include file="CheckAdmin.asp"-->
  22. <BODY>
  23. <div align="center">
  24. <font color="#FF0000"><strong><br>
  25. </strong></font>
  26. <table width="720" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#6ab6b6">
  27.   <tr class="border">
  28.     <td height="24"><font color="#FFFFFF"><img src="Images/Explain.gif" width="18" height="18" border="0" align="absmiddle">&nbsp;<strong>企业网站管理系统程序探针</strong></font></td>
  29.   </tr>
  30.   <tr class="border">
  31.     <td bgcolor="#eafefe"> 程序使用服务器环境要求(关键部分): <br />
  32.       1、支持ASP:<font color=green><b>√</b></font> 2、支持FSO:
  33.       <%
  34. On Error Resume Next
  35. Server.CreateObject("Scripting.FileSystemObject")
  36. if err=0 then 
  37.    response.write("<font color=green><b>√</b></font>")
  38. else
  39.        response.write("<font color=red><b>×</b></font>")
  40. end if 
  41. err=0
  42.     %>
  43.       3、支持ACCESS数据库:
  44.       <%
  45. On Error Resume Next
  46. Server.CreateObject("adodb.connection")
  47. if err=0 then 
  48.    response.write("<font color=green><b>√</b></font>")
  49. else
  50.        response.write("<font color=red><b>×</b></font>")
  51. end if 
  52. err=0
  53.     %>
  54.       <br>      
  55.       如果以上3条都显示<font color=green><b>√</b></font>,说明您的服务器支持我们的程序,如有问题可以与我们联系,我们有优质空间提供。QQ:4596500 Tel:013567213275 </td>
  56.   </tr>
  57. </table>
  58. <font color="#FF0000"><strong><br>
  59. </strong></font>
  60. <table width="720" border="0" cellpadding="3" cellspacing="1" bgcolor="#6ab6b6">
  61.   <tr>
  62.     <td height="24" colspan="2"><font color="#FFFFFF"><img src="Images/Explain.gif" width="18" height="18" border="0" align="absmiddle">&nbsp;<strong>服务器信息</strong></font></td>
  63.     </tr>
  64.   <tr>
  65.     <td width="50%" height="24" bgcolor="#eafefe">服务器操作系统:<%=Request.ServerVariables("OS")%></td>
  66.     <td width="50%" height="24" bgcolor="#eafefe">网站信息服务软件和版本:<%=Request.ServerVariables("SERVER_SOFTWARE")%></td>
  67.   </tr>
  68.   <tr>
  69.     <td width="50%" height="24" bgcolor="#eafefe">脚本解释引擎:<%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></td>
  70.     <td width="50%" height="24" bgcolor="#eafefe">脚本超时时间:<%=Server.ScriptTimeout%>秒</td>
  71.   </tr>
  72.   <tr>
  73.     <td height="24" bgcolor="#eafefe">CDONTS组件支持:<%
  74.   On Error Resume Next
  75.   Server.CreateObject("CDONTS.NewMail")
  76.   if err=0 then 
  77.  response.write("<font color=green><b>√</b></font>")
  78.   else
  79.          response.write("<font color=red><b>×</b></font>")
  80.   end if
  81.   err=0
  82.     %></td>
  83.     <td height="24" bgcolor="#eafefe">Jmail邮箱组件支持:<%
  84. On Error Resume Next
  85. Server.CreateObject("JMail.SMTPMail")
  86. if err=0 then 
  87.    response.write("<font color=green><b>√</b></font>,支持")
  88. else
  89.        response.write("<font color=red><b>×</b></font>,不支持")
  90. end if 
  91. err=0
  92.     %></td>
  93.   </tr>
  94.   <tr>
  95.     <td height="24" bgcolor="#eafefe">返回服务器处理请求的端口:<%=Request.ServerVariables("SERVER_PORT")%></td>
  96.     <td height="24" bgcolor="#eafefe">协议的名称和版本:<%=Request.ServerVariables("SERVER_PROTOCOL")%></td>
  97.   </tr>
  98.   <tr>
  99.     <td height="24" bgcolor="#eafefe">服务器 CPU 数量:<%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%></td>
  100.     <td height="24" bgcolor="#eafefe">FSO文本文件读写:<%
  101. On Error Resume Next
  102. Server.CreateObject("Scripting.FileSystemObject")
  103. if err=0 then 
  104.    response.write("<font color=green><b>√</b></font>,支持")
  105. else
  106.        response.write("<font color=red><b>×</b></font>,不支持")
  107. end if 
  108. err=0
  109.     %></td>
  110.   </tr>
  111.   <tr>
  112.     <td height="24" bgcolor="#eafefe">客户端操作系统:<%
  113.       dim thesoft,vOS
  114.       thesoft=Request.ServerVariables("HTTP_USER_AGENT")
  115.       if instr(thesoft,"Windows NT 5.0") then
  116.      vOS="Windows 2000"
  117.       elseif instr(thesoft,"Windows NT 5.2") then
  118.      vOs="Windows 2003"
  119.       elseif instr(thesoft,"Windows NT 5.1") then
  120.          vOs="Windows XP"
  121.       elseif instr(thesoft,"Windows NT") then
  122.          vOs="Windows NT"
  123.       elseif instr(thesoft,"Windows 9") then
  124.      vOs="Windows 9x"
  125.       elseif instr(thesoft,"unix") or instr(thesoft,"linux") or instr(thesoft,"SunOS") or instr(thesoft,"BSD") then
  126.      vOs="类Unix"
  127.       elseif instr(thesoft,"Mac") then
  128.      vOs="Mac"
  129.       else
  130.       vOs="Other"
  131.       end if
  132.       response.Write(vOs)
  133.     %></td>
  134.     <td height="24" bgcolor="#eafefe">站点物理路径:<%=request.ServerVariables("APPL_PHYSICAL_PATH")%></td>
  135.   </tr>
  136.   <tr>
  137.     <td width="50%" height="24" bgcolor="#eafefe">域名IP:http://<%=Request.ServerVariables("SERVER_NAME")%>&nbsp;/&nbsp;<%=Request.ServerVariables("LOCAL_ADDR")%></td>
  138.     <td width="50%" height="24" bgcolor="#eafefe">虚拟路径:<%=Request.ServerVariables("SCRIPT_NAME")%></td>
  139.   </tr>
  140.   <tr>
  141.     <td height="24" colspan="2" bgcolor="#bbe5e5">客户端浏览器要求: IE5.5或以上,并关闭所有弹窗的阻拦程序;服务器建议采用:Windows 2000或Windows 2003 Server。</td>
  142.     </tr>
  143. </table>
  144. <br>
  145. </div>
  146. </BODY>
  147. </HTML>