字符批量替換程序asp服務器版
2024-05-04 11:01:42
供稿:網友
**********字符批量替換程序asp服務器版******************
安裝方法:直接把replace.asp文件放在任意的支持asp+FSO的環境中
運行方法:用http://localhost/.../replace.asp訪問即可看到程序的效果
此程序的功能主要用來替換文件夾中所有文本文件字符用的。
如:txt、htm、asp、jsp、php、…… 一切的文本文件
div+CSS布局 兼容FF和IE瀏覽器
---------目前具有功能------------------------
即時查看當前替換文件路徑
可選備份原文件為 “原文件.bak”
文件夾無限層嵌套替換字符
被替換文件路徑顯示
總文件數和被替換過文件數顯示
...
程序用途舉例-
清除類似的網頁木馬<iframe src="" width="0" height="0"></iframe>
批量替換文件字符,少量的文件就用不上這個程序了
可上傳在服務器上,在線替換批量替換字符
當“查找字符”和“替換的字符串”相同時,可以查找大量文本文件中,哪些文件包含有目標字符
....
155120699原創 歡迎指正 hezhiwu5@163.com 21:47 2007-3-12
------------------------------------------------------------------------------------------------------
復制代碼 代碼如下:
<%Option Explicit%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="author" content="155120699編寫 hezhiwu5@163.com " />
<meta name="Description" content="字符替換程序" />
<meta name="copyright" content="155120699原創web程序 歡迎指正"/>
<title>字符替換程序asp服務器版</title>
<style type="text/css">
<!--
#top
{
text-align:center;
margin:auto;
font-size:11pt;
}
#top_b
{
text-align:left;
width:350px;
border:1px solid #000000;
margin:auto;
padding:0px;
line-height:200%;
}
#top_b div
{
padding-left:8px;
padding-right:8px;
}
#ftitle
{
text-align:center;
width:350px;
background:silver;
font-weight:bold;
letter-spacing:5px;
font-size:15pt;
padding:3px 0 3px 0;
color:red;
margin:auto;