⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reboot.asp

📁 一个非常优秀的自动建站程序
💻 ASP
字号:
<!--#include file="top.asp"-->
<!--#include file="../checkpost.asp"-->
<table width="100%" align="center" bgcolor="#cccccc" border="0" cellpadding="5" cellspacing="1">
<tr>
<td align=center bgcolor="#FFFFFF">
<%
if Request.form("submit")="重新启动" then
if trim(Request.form("WebIP"))="" then Response.Redirect("Reboot.asp")
'此模块是进行服务器重新启动操作
Set Autohost = Server.CreateObject("autohost.Createhost")
Autohost.HostIp=trim(Request.form("WebIP"))'服务器的IP
Autohost.HostPort=Port'程序端口
Autohost.Guid=Guid
Autohost.HostAction="reboot"'动作,这个是创建主机
ReturnValue=Autohost.send'给服务器执行
set Autohost=nothing
else
%>
<br>
本次操作在进行服务器重新启动
<br><br>
注意:在点重新启动后远方服务器在执行重新启动动作,请等5分钟再访问。
<form name="form" method="post" action="Reboot.asp">
服务器:
<input name="WebIp" value="">
<input type=submit name="submit" value="重新启动">
</form>
<%
end if
%>
</td>
</tr>
</table>
</TD></TR></TABLE>
<!--#include file="foot.asp"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -