预览模式: 普通 | 列表
windows 2003 sp2 iis6,无法正常使用IIS5.0 隔离模式
原因1:
       检查iis6进程池是否有 “DefaultAppPool”进程池,没有则建立后再试。

原因2:

查看更多...

分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1928

SMTP Error: Could not connect to SMTP host.

Mailer错误: SMTP Error: Could not connect to SMTP host.

查看disable_functions 选项,删除掉对fsockopen 函数的禁止功能。

查看更多...

分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3772

关闭开机自动检测硬盘方法

方法一:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager” 找到 BootExecute 进行清空。

方法二:
chkntfs /x d: (屏蔽D盘的开机磁盘检测)
chkntfs /x c: d: e:  (屏蔽C,D,E盘的开启磁盘检测)

如果要还原默认磁盘检测,执行下:chkntfs /D

切记: 屏蔽检查的驱动器,尽量在完成任务后执行 chkntfs /D 进行默认检查,以免导致严重磁盘结构问题。

查看更多...

分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 907
以下内容,保存为一个.bat的批处理文件后执行即可:


@echo off
@ ECHO --------------------------------------------------------------------------------
echo   注意:请先关闭所有Word文档程序,按任意键开始修复......
@ ECHO --------------------------------------------------------------------------------
del /f /s /q "%userprofile%\local settings\temp\*.*"
del /f /s /q "%appdata%\microsoft\Templates\*.dot"
del /f /s /q "%appdata%\microsoft\Word\Startup\*.dot"
regsvr32 /u /s pintlgnt.ime
@ ECHO --------------------------------------------------------------------------------
@ ECHO BAT程序执行完毕,请按任意键退出...
@ ECHO --------------------------------------------------------------------------------
pause>nul

或者下载此文件,解压缩后执行即可:

查看更多...

分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1179
出现:没有找到msvcr71.dll因此这个应用程序未能启动。重新安装应用程序可能会修复此问题

解决方法:
搜索c盘下的:msvcr71.dll, 复制此文件到c:\windows\system32目录下。

查看更多...

分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1163

DedeCMS 管理员帐号重设工具

方法一:

 

以下代码,保存为 radminpass.php,放到网站根目录执行即可。。。


<?php

/**********************
DedeCMS 管理员帐号重设工具.
http://bbs.dedecms.com/
***********************/
//error_reporting(E_ALL || ~E_NOTICE);
require_once(dirname(__FILE__)."/include/common.inc.php");
if(empty($step))
{
$step = 1;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>密码重设工具_GBK</title>
<style type="text/css">
<!--
body {
font-family: "MS Serif", "New York", serif;
font-size: 12px;
color: #000;
}
table {
border-top-width: 1px;
border-right-width: 1px;
border-left-width: 1px;
border-top-style: dotted;
border-right-style: dotted;
border-left-style: dotted;
border-top-color: #CCC;
border-right-color: #CCC;
border-left-color: #CCC;
}
td {
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #CCC;
}
-->
</style>
</head>
<body>
<?php
if($step==1)
{
$dsql->SetQuery("Select * From `#@__admin` where usertype='10'");
$dsql->Execute("ut");
?>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1">
  <tr>
    <td height="19" bgcolor="#E7E7E7"><table width="96%" border="0" cellspacing="1" cellpadding="1">
      <tr>
        <td width="24%"><b><strong>第一步:选择管理员账号</strong></b></td>
        <td width="76%" align="right">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="215" align="center" valign="top" bgcolor="#FFFFFF"><form action="radminpass.php" method="post" name="form1" id="form1">
      <input type="hidden" name="step" value="2" />
      <table width="98%" border="0" cellspacing="1" cellpadding="1">
<tr>
          <td height="60" colspan="2" align="left">本工具是用于新人忘记管理员密码重设所制作,只需要将radminpass.php文件拷贝到根目录,运行&ldquo;http://yousite/radminpass.php(yousite为网站域名)&rdquo;,按照操作执行就可以。<font color="#FF0000">恢复完成后请及时删除这个文件!</font></td>
          </tr>
        <tr>
          <td width="16%" height="30" align="left">选择超级管理员ID:</td>
          <td width="84%" align="left">
            <select name='id' style='width:150px'>
              <?php
  while($myrow = $dsql->GetObject("ut"))
  {
  echo "<option value='".$myrow->id."'>".$myrow->userid."</option>\r\n";
  }
  ?>
              </select>

查看更多...

分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1095

关闭部分存储过程,加强MSSQL安全

use master
EXEC sp_dropextendedproc 'xp_cmdshell'
EXEC sp_dropextendedproc 'Sp_OACreate'
EXEC sp_dropextendedproc 'Sp_OADestroy'
EXEC sp_dropextendedproc 'Sp_OAGetErrorInfo'
EXEC sp_dropextendedproc 'Sp_OAGetProperty'
EXEC sp_dropextendedproc 'Sp_OAMethod'
EXEC sp_dropextendedproc 'Sp_OASetProperty'
EXEC sp_dropextendedproc 'Sp_OAStop'
EXEC sp_dropextendedproc 'xp_makecab'
EXEC sp_dropextendedproc 'xp_unpackcab'
drop procedure sp_makewebtask
分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1936

301 重定向代码

301重定向代码:

ASP:
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","
http://www.xxxx.com/"
Response.End

PHP:
header("HTTP/1.1 301 Moved Permanently");
header("Location:
http://www.xxxx.com/");
exit();

分类:日志内容 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1917