servercheck.asp
来自「商务世纪新闻asp源代码」· ASP 代码 · 共 55 行
ASP
55 行
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<% on error resume next %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="400" border="0" align="center" cellpadding="10" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td><strong>本程序所需组件测试</strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> <%
set rs = Server.CreateObject("Microsoft.XMLHTTP")
If not IsObject(rs) then
Response.Write "您的服务器不支持 Microsoft.XMLHTTP"
Else
Response.Write "您的服务器支持 Microsoft.XMLHTTP"
End if
set rs = nothing
%> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> <%
set rs = Server.CreateObject("Adodb.Stream")
If not IsObject(rs) then
Response.Write "您的服务器不支持 Adodb.Stream"
Else
Response.Write "您的服务器支持 Adodb.Stream"
End if
set rs = nothing
%> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> <%
set fso = Server.CreateObject("Scripting.FileSystemObject")
If not IsObject(rs) then
Response.Write "您的服务器不支持 Scripting.FileSystemObject"
Else
Response.Write "您的服务器支持 Scripting.FileSystemObject"
End if
set rs = nothing
%> </td>
</tr>
<tr>
<td bgcolor="#EEEEEE">如果以上组件中有一个不支持,本程序系统将无法运行。</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?