<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/css" href="css/atom.css"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title type="html"><![CDATA[一直安静]]></title><subtitle type="html"><![CDATA[]]></subtitle><id>http://yyoo.cn/</id><link rel="alternate" type="text/html" href="http://yyoo.cn/"/><link rel="self" type="application/atom+xml" href="http://yyoo.cn/atom.xml"/><generator uri="http://www.rainbowsoft.org/" version="1.6 Final Build 60816">RainbowSoft Studio Z-Blog</generator><updated>2010-04-21T13:15:18+08:00</updated><entry><title type="html"><![CDATA[Windows 2003下配置IIS6+PHP5+MySql+Zend+phpMyAdmin]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2010-04-21T13:11:03+08:00</updated><published>2010-04-21T13:11:03+08:00</published><summary type="html"><![CDATA[准备下载我已经打包好了的文件包，里面主要包含的几个环境的版本如下：PHP: php 5.2.6Mysql: mysql 5.0.26Zend: ZendOptimizer 3.3.3phpMyAdmin: phpMyAdmin 3.2.5软件包下载地址：http://u.115.com/file/f6c850346b1、根据自己的情况，在服务器建立对应文件夹1) C盘根目录下建立tmp、php共两个文件夹，tmp文件夹，给Users读取、写入权限。2) 在D盘下创建Mysql文件夹，这个根据自己...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/Windows-IIS6-PHP5-MySql-Zend-phpMyAdmin.html"/><id>http://yyoo.cn/live/Windows-IIS6-PHP5-MySql-Zend-phpMyAdmin.html</id></entry><entry><title type="html"><![CDATA[远程做Linux Iptables规则注意事项]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=8" label="开发"/><updated>2009-05-09T20:12:08+08:00</updated><published>2009-05-09T20:12:08+08:00</published><summary type="html"><![CDATA[在远程putty到linux主机上首次做iptables规则时需按以下步骤,以免造成远程断开再也登不了远程linux主机的麻烦. 　　1.清除原有filter规则. 　　[root@linux ~]# iptables -F 清除预设表filter中的所有规则链的规则 　　[root@linux ~]# iptables -X 清除预设表filter中使用者自定链中的规则 　　2.清除原有filter规则后的信息应为下面的样子 　　[root@linux ~]# iptables -L -n 　...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/iptables.html"/><id>http://yyoo.cn/live/iptables.html</id></entry><entry><title type="html"><![CDATA[Linux下把GBK编码的文件转化为utf-8编码]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2009-03-09T14:08:38+08:00</updated><published>2009-03-09T14:08:38+08:00</published><summary type="html"><![CDATA[Linux下把GBK编码的文件转化为UTF-8编码iconv -f gbk -t utf8 in_file &gt; out_file同理把UTF8换成GBK如果要批量转换，可以使用以下命令find ./ -type d -exec mkdir -p newdir/{} \;find ./ -type f -exec iconv -f GBK -t UTF-8 {} -o newdir/{} \;将当前目录下的所有文件转换成UTF8格式放在newdir目录下...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/55.html"/><id>http://yyoo.cn/live/55.html</id></entry><entry><title type="html"><![CDATA[mysqlbinlog  的使用]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2008-08-19T16:54:02+08:00</updated><published>2008-08-19T16:54:02+08:00</published><summary type="html"><![CDATA[mysql查看某时间段同步日志例:查看080814  6：50  - 7：05 的同步日志mysqlbinlog --start-date=&quot;2008-08-14 06:50:00&quot;  --stop-date=&quot;2008-08-14 07:05:00&quot; -f  /usr/local/mysql/var/mysql-bin.000087 &gt; /tmp/mysql_restore.sql如果在执行时出现:mysqlbinlog: unknown vari...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/54.html"/><id>http://yyoo.cn/live/54.html</id></entry><entry><title type="html"><![CDATA[解决因utf-8编码引起js输出中文乱码]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2008-07-24T07:49:32+08:00</updated><published>2008-07-24T07:49:32+08:00</published><summary type="html"><![CDATA[如果web application的编码规则是utf-8，如网页头中的：&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;那么js文件中如果有中文输出就会出现乱码，解决此个问题可在引用javascript输出的地方加上charset=&quot;gb2312&quot; 或 charset=&quot;big5&quot;（假设输出的是Big5繁体字）。例：...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/53.html"/><id>http://yyoo.cn/live/53.html</id></entry><entry><title type="html"><![CDATA[[转]MySQL 性能跟踪语句]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2008-06-26T10:01:53+08:00</updated><published>2008-06-26T10:01:53+08:00</published><summary type="html"><![CDATA[MYSQL5.0家族提供的性能跟踪器确实很爽。要注意两点。1、不过版本要在5.0.37之后手册上介绍：(SHOW PROFILES and SHOW PROFILE were added in MySQL 5.0.37. ) Important Please note that the SHOW PROFILE and SHOW PROFILES functionality is part of the MySQL 5.0 Community Server only. 2、变量profiling...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/52.html"/><id>http://yyoo.cn/live/52.html</id></entry><entry><title type="html"><![CDATA[[转]mysql错误对照表]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2008-06-11T08:32:49+08:00</updated><published>2008-06-11T08:32:49+08:00</published><summary type="html"><![CDATA[1005：创建表失败1006：创建数据库失败1007：数据库已存在，创建数据库失败1008：数据库不存在，删除数据库失败1009：不能删除数据库文件导致删除数据库失败1010：不能删除数据目录导致删除数据库失败1011：删除数据库文件失败1012：不能读取系统表中的记录1020：记录已被其他用户修改1021：硬盘剩余空间不足，请加大硬盘可用空间1022：关键字重复，更改记录失败1023：关闭时发生错误1024：读文件错误1025：更改名字时发生错误1026：写文件错误1032：记录不存在1036...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/mysql-error.html"/><id>http://yyoo.cn/live/mysql-error.html</id></entry><entry><title type="html"><![CDATA[PHP正则表达式,从网址(url)中取得域名]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=8" label="开发"/><updated>2008-06-06T17:15:42+08:00</updated><published>2008-06-06T17:15:42+08:00</published><summary type="html"><![CDATA[以下代码可以从URL中获得域名例如:http://yyoo.cn/live/q.html得到yyoo.cnfunction get_domain($url){&nbsp; $pattern = &quot;/[\w-]+\.(com|net|org|gov|cc|biz|info|cn)(\.(cn|hk))*/&quot;;&nbsp; preg_match($pattern, $url, $matches);&nbsp; if(count($matches) &gt; 0) {&nbsp;&...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/50.html"/><id>http://yyoo.cn/live/50.html</id></entry><entry><title type="html"><![CDATA[正则表达式中的特殊字符]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2008-06-03T16:02:06+08:00</updated><published>2008-06-03T16:02:06+08:00</published><summary type="html"><![CDATA[字符/意义：对于字符，通常表示按字面意义，指出接着的字符为特殊字符，不作解释。例如：/b/匹配字符&rsquo;b&rsquo;,通过在b 前面加一个反斜杠，也就是/b/，则该字符变成特殊字符，表示匹配一个单词的分界线。或者：对于几个字符，通常说明是特殊的，指出紧接着的字符不是特殊的，而应该按字面解释。例如：*是一个特殊字符，匹配任意个字符(包括0个字符)；例如：/a*/意味匹配0个或多个a。为了匹配字面上的*，在a前面加一个反斜杠；例如：/a*/匹配&rsquo;a*&rsquo;。字符^意义...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/49.html"/><id>http://yyoo.cn/live/49.html</id></entry><entry><title type="html"><![CDATA[Mysql数据库中字符替换,replace函数的使用]]></title><author><name>一直安静</name><uri>http://yyoo.cn</uri><email>chinadmin@188.com</email></author><category term="" scheme="http://yyoo.cn/catalog.asp?cate=3" label="新知"/><updated>2008-04-07T10:31:16+08:00</updated><published>2008-04-07T10:31:16+08:00</published><summary type="html"><![CDATA[有时候遇到想替换数据库里某一字段的内容时可以用REPLACE函数:语法如下:UPDATE tb1 SET f1=REPLACE(f1, 'abc', 'def');REPLACE(str,from_str,to_str)&nbsp;&nbsp;&nbsp; 在字符串&nbsp;&nbsp; str&nbsp;&nbsp; 中所有出现的字符串&nbsp;&nbsp; from_str&nbsp;&nbsp; 均被&nbsp;&nbsp; to_str替换，然后返回这个字符串：&nbsp;&nbsp...]]></summary><link rel="alternate" type="text/html" href="http://yyoo.cn/live/48.html"/><id>http://yyoo.cn/live/48.html</id></entry></feed>
