Ubuntu 6.10 Edgy 下ZendStudio不能运行的问题。
Posted on 10月 29, 2006 - Filed Under Linux, php | 3 Comments
升级完发现系统速度居然比6.06更快!
其他都还不错,只是ZDE不能运行了,出现以下错误信息:
Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: [...]
firefox2.0 地址栏搜索
Posted on 10月 9, 2006 - Filed Under Firefox | Leave a Comment
一个我经常使用的功能,就是在firefox地址栏直接输入想找的东西,然后会自动调用google的“手气不错”,非常实用,在找一些开源软件是非常准确的(一般官方网站都排在结果第一个),例如输入mplayer,会自动跳到 http://www.mplayerhq.hu/ 。
实在等不及了,装了一个rc2版本,感觉良好,可是这个功能没了!
解决方法:
地址栏输入:about:config
搜索 keyword.URL
修改值为:http://www.google.com/search?hl=zh-CN&btnI=%E6%89%8B%E6%B0%94%E4%B8%8D%E9%94%99&lr=&q=
搞定。
一个常见的xml解析错误解决方法
Posted on 10月 9, 2006 - Filed Under php | Leave a Comment
反正就是莫名其妙的错误,特别是utf-8的页面,出现这种情况的原因大概因为utf-8的编码格式是变长的,规则比较烦,中途少了一个字节或者多了一个字节就容易出现这类问题,后来用ultraedit查看,发现很诡异,都是那种单字节的字符引起的,一些控制码,反正不管怎样,替换掉这些东西就可以了,这些字符本来也不是用来看的。
$xml = preg_replace('#[\x00-\x08\x0e-\x1f\x7f]+#', ", $xml);
Read More..>>