illustrate:
1. This tool can batch replace text-type characters such as asp, .txt, php, aspx, etc. on the website.
2. After uploading replace.asp to the website root directory, run http://site domain name/replace.asp
3. For safety, please delete or rename it after using this program.
The code copy is as follows:
<%@LANGUAGE="VBSCRIPT"CODEPAGE="936"%>
<%optionexplicit
Response.Buffer=true
Response.CharSet="GB2312"
Server.ScriptTimeout=9999999
%>
<html>
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/>
<metahttp-equiv="Content-Language"content="zh-CN"/>
<title>Iframe Replacement Program</title>
<styletype="text/css">
<!--
#top
{
text-align:center;
margin:auto;
font-size:11pt;
}
#top_b
{
text-align:left;
width:350px;
border:1pxsolid#000000;
margin:auto;
padding:0px;
line-height:200%;
}
#top_bdiv
{
padding-left:8px;
padding-right:8px;
}
#ftitle
{
text-align:center;
width:350px;
background:silver;
font-weight:bold;
letter-spacing:5px;
font-size:15pt;
padding:3px03px0;
color:red;
margin:auto;
border:1pxsolid#000000;
border-width:1px1px01px;
}
#btm
{
text-align:center;
padding-top:8px;
padding-bottom:8px;
background:#ececec
}
textarea
{
width:330;
height:100px
}
#copyr
{
font-size:9pt;
text-align:center;
color:silver
}
-->
</style>
</head>
<body>
<%
ifrequest.querystring("add")="yes"then
%>
<divid="top">
<divid="ftitle">Program processing results</div>