XP休眠时提示系统资源不足,无法完成api解决

当你的xp在休眠时出现:“系统资源不足,无法完成api”时,恭喜你,你的内存已经超过1G了。
但是xp就是这么秀逗,当你的内存超过1G的时候,需要打一个补丁才能继续休眠……
地址:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-CN&FamilyID=9d20f96a-a8d6-4627-89f7-787cd9b3852c
下载下来为:WindowsXP-KB909095-x86-CHS.exe,如果官方无法下载,可以到g.cn搜索KB909095。
下载完,安装,重新启动计算机,开启休眠。测试,OK。

...

eset提示连接不到检测服务器 软件无法运行

这些天eset总是提示连接不到检测服务器 软件无法运行,而且图标也是红色的,正常的情况是蓝色的,于是进入
C:\Program Files\ESET\ESET Smart Security  手工运行ESET ID自动获取填写工具,也连不上线路。我的版本是:

怀疑ESET ID自动获取填写工具内置的线路老了,没有自动更新,于是去下载最新的ESET ID自动获取填写工具。我找的是v1.7.5.4 绿色免费版,下载后解压,运行安装卸载程序.bat,选择2,安装到ESET目录,将自动更新ID,待ID获取成功后再去更新ESET病毒库。

问题终于解决...

phpmyadmin 无法显示网页,找不到服务器

最近在服务器上、本地环境、都发现打开phpmyadmin经常无法显示,提示找不到服务器。
从phpMyAdmin 3.3.0-rc1 换到 phpMyAdmin 3.2.5,问题依旧。而phpmyadmin目录下放的PHP探针,打开没有问题。TXT打开也没有问题。
于是再次将版本更换到phpMyAdmin 2.11.10,测试,问题消失。
如果大家遇到跟我同样的问题,不妨试试其他的版本。

...

mod_rewrite简单应用

简单定向
RewriteRule ^/anything http://other.server.com/somewhere
will never match, because the incoming URL never has a leading slash in directory context. This is explained in detail in the Apache documentation, see the resource links.
Troubleshooting
定义错误页面
Pre-built “magic” error pages
There are some “magic” error pages settings which could be problematic when you want to use rewrite rules. The most simple […]

...

W3C标准下解决FireFox浏览器innerHTML属性无效的方法

如果用XHTML开发网页,即网页源代码头用了如下标准声明(注意:如果你使用的编码不是utf-8,下面第二行的lang属性会有所不同,比如你使用GB2312中文编码,那么lang属性应该为lang=”gb2312″,其他编码方式也会有所不同):
<!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">
<html xmlns="http://www.w3.org/1999/xhtml" lang="UTF-8">
这样页面就是...

JavaScript判断后缀(js)

下载: select.html<script>  
  function  check(oForm)  
  {  
    var ext = "*.jpg,*.gif,*.png";
    s = oForm.f.value;
    s = s.substr(s.lastIndexOf("."));
   
    if(ext.indexOf("*"+s)==-1)  
    {  
      alert("不允许"+s)  
      return   false  
    }  
  }  
</script> &...

|