<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[ofly'blog]]></title> 
<description><![CDATA[风划过水面后时间的简单记忆]]></description>
<link>http://ofly.org</link>
<language>zh-cn</language>
<generator>www.emlog.net</generator>

<item>
	<title>PHP Memcached + APC + 文件缓存封装</title>
	<link>http://ofly.org/?post=137</link>
	<description><![CDATA[<p>
	使用方法：<br /><br />
	Memcached<br /><br />
	$cache = new Cache_MemCache();<br />
	$cache-&gt;addServer(&#39;www1&#39;);<br />
	$cache-&gt;addServer(&#39;www2&#39;,11211,20); // this server has double the memory, and gets double the...</p><p><a href="http://ofly.org/?post=137">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Tue, 09 Mar 2010 09:34:00 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=137</guid>

</item>
<item>
	<title>vc读写mysql</title>
	<link>http://ofly.org/?post=136</link>
	<description><![CDATA[<p>
	&nbsp;看过很多C或是C＋＋操作MySQL数据库的文章，大部分太吃力了，甚至有一部分根本没有很好的组织文字，初学者比较难以接受，即使是C++或是C高手也是比较难看懂。写这篇文章的目的不是别的，就一个，告诉您用MySQL的C API直接操作MySQL数据，并做了比较高效的封装，可以帮助开发人员大幅度提高采用MySQL的C API操作MySQL数据库的效率。<br />
	直接进入主题：<br />
	1、&n...</p><p><a href="http://ofly.org/?post=136">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Tue, 23 Feb 2010 11:43:06 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=136</guid>

</item>
<item>
	<title>把鸟枪改装成大炮</title>
	<link>http://ofly.org/?post=135</link>
	<description><![CDATA[<p>
	最近又把sablog2.0拿出来研究了一下，这个blog是一个经典的学习好教材，1.6以后作者开发速度很慢，也可能是目前blog在国内日渐衰败的原因吧，2.0现在一直是bata版，发现其中问题确实不少，处于自己的喜好打算把编辑器换掉，ajax的一些东西也修改了，在打算把自己之前做的分表存储和缓存技术也用上外加memcache，把鸟枪改装成大炮，有空把这东西写好了放出来测试测试。</p><p><a href="http://www.ofly.org/content/uploadfile/201002/f3ccdd27d2000e3f9255a7e3e2c4880020100219163445.jpg" id="ematt:23" target="_blank"><img alt="点击查看原图" border="0" src="http://www.ofly.org/content/uploadfile/201002/thum-f3ccdd27d2000e3f9255a7e3e2c4880020100219163445.jpg" /></a></p><p><a href="http://ofly.org/?post=135">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Fri, 19 Feb 2010 16:27:16 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=135</guid>

</item>
<item>
	<title>php生成utf-8格式文件 中文问题解决</title>
	<link>http://ofly.org/?post=134</link>
	<description><![CDATA[<p>
	&nbsp;</p><table style="table-layout: fixed; width: 100%"><tbody><tr><td><div class="cnt" id="blog_text"><p>
						用iconv(&quot;gb2312&quot;,&quot;utf-8&quot;,$str)，</p><p>
						将$str转换为utf-8格式，</p><p>
						在$str前加上&quot;\xEF\xBB\xBF&quot;。即$str=&quot;\xEF\xBB\xBF&quot;.$str;</p><p>
						保存，fputs($fp,$str,...</p></div></td></tr></tbody></table><p><a href="http://ofly.org/?post=134">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Fri, 19 Feb 2010 07:57:08 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=134</guid>

</item>
<item>
	<title>网络没有采访权</title>
	<link>http://ofly.org/?post=133</link>
	<description><![CDATA[<p>
	网络没有采访权，搜狐不知道，央视难道也不知道?诡异！</p><p><a href="http://www.ofly.org/content/uploadfile/201002/f3ccdd27d2000e3f9255a7e3e2c4880020100218062456.jpg" id="ematt:22" target="_blank"><img alt="点击查看原图" border="0" src="http://www.ofly.org/content/uploadfile/201002/thum-f3ccdd27d2000e3f9255a7e3e2c4880020100218062456.jpg" /></a></p><p><a href="http://ofly.org/?post=133">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Thu, 18 Feb 2010 06:21:40 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=133</guid>

</item>
<item>
	<title>嘟嘟长大了</title>
	<link>http://ofly.org/?post=132</link>
	<description><![CDATA[<p>
	再过半个月嘟嘟估计就一岁了，今天整理电脑看到了它的几张小时后的照片，翻出来给大家看看吧</p><p><a href="http://www.ofly.org/content/uploadfile/201002/f3ccdd27d2000e3f9255a7e3e2c4880020100210132222.jpg" id="ematt:18" target="_blank"><img alt="点击查看原图" border="0" src="http://www.ofly.org/content/uploadfile/201002/thum-f3ccdd27d2000e3f9255a7e3e2c4880020100210132222.jpg" /></a></p><p><a href="http://www.ofly.org/content/uploadfile/201002/156005c5baf40ff51a327f1c34f2975b20100210132503.jpg" id="ematt:19" target="_blank"><img alt="点击查看原图" border="0" src="http://www.ofly.org/content/uploadfile/201002/thum-156005c5baf40ff51a327f1c34f2975b20100210132503.jpg" /></a></p><p>
	打哈欠的瞬间</p><p><a href="http://www.ofly.org/content/uploadfile/201002/799bad5a3b514f096e69bbc4a7896cd920100210132503.jpg" id="ematt:20" target="_blank"><img alt="点击查看原图" border="0" src="http://www.ofly.org/content/uploadfile/201002/thum-799bad5a3b514f096e69bbc4a7896cd920100210132503.jpg" /></a></p><p><a href="http://www.ofly.org/content/uploadfile/201002/d0096ec6c83575373e3a21d129ff8fef20100210132503.jpg" id="ematt:21" target="_blank"><img alt="点击查看原图" border="0" src="http://www.ofly.org/content/uploadfile/201002/thum-d0096ec6c83575373e3a21d129ff8fef20100210132503.jpg" /></a></p><p><a href="http://ofly.org/?post=132">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Wed, 10 Feb 2010 13:20:47 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=132</guid>

</item>
<item>
	<title>PHP编程效率</title>
	<link>http://ofly.org/?post=131</link>
	<description><![CDATA[<p>
	用单引号代替双引号来包含字符串，这样做会更快一些。因为PHP会在双引号包围的字符串中搜寻变量，单引号则不会，注意：只有echo能这么做，它是一种可以把多个字符串当作参数的&ldquo;函数&rdquo;（译注：PHP手册中说echo是语言结构，不是真正的函数，故把函数加上了双引号）。</p><p>
	1、如果能将类的方法定义成static，就尽量定义成static，它的速度会提升将近4倍。</p><p>
	2、$r...</p><p><a href="http://ofly.org/?post=131">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Fri, 05 Feb 2010 04:39:35 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=131</guid>

</item>
<item>
	<title>PHP中substr()函数的实例详解</title>
	<link>http://ofly.org/?post=130</link>
	<description><![CDATA[<p>
	原型：string substr ( string $string , int $start [, int $length ] )，它可以用于在一个较长的字符串中查找匹配的字符串或字符。$string为所要处理的字符串，$start为开始选取的位置，$length为要选取的长度(当它是负数时为负数时表示右起数起的位置)。<br />
	例：<br />
	&lt;?php<br />
	$rest1 = substr(&...</p><p><a href="http://ofly.org/?post=130">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Thu, 04 Feb 2010 12:14:02 +0800</pubDate>
	<author>ofly</author>
	<guid>http://ofly.org/?post=130</guid>

</item>
<item>
	<title>php学习的一些细节知识</title>
	<link>http://ofly.org/?post=128</link>
	<description><![CDATA[<p><strong>#正规表达式的定界符</strong><br />
	&nbsp; 表达式的定界符表达式应被包含在定界符中，如斜线（/）。任何不是字母、数字或反斜线（\）的字符都可以作为定界符。如果作为定界符的字符必须被用在表达式本身中，则需要用反斜线转义。<br />
	&nbsp; 如 &quot;/abcd/&quot;,用/是最常用的定界符，<br />
	&nbsp; &quot;|abcd|&quot;，也是可以的，但在这中间如果再想使用|表求或...</p><p><a href="http://ofly.org/?post=128">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Thu, 28 Jan 2010 10:51:30 +0800</pubDate>
	<author>sogood</author>
	<guid>http://ofly.org/?post=128</guid>

</item>
<item>
	<title>snoopy类的学习测试</title>
	<link>http://ofly.org/?post=127</link>
	<description><![CDATA[<p>
	下载地址：http://snoopy.sourceforge.net/<br />
	简单测试代码：<br />
	&lt;?php<br />
	include &quot;Snoopy.class.php&quot;;<br />
	$snoopy = new Snoopy();<br />
	$snoopy-&gt;fetch(&#39;http://www.baidu.com/s?bs=php+snoopy&amp;f=8&amp;...</p><p><a href="http://ofly.org/?post=127">阅读全文&gt;&gt;</a></p>]]></description>
	<pubDate>Thu, 28 Jan 2010 10:46:11 +0800</pubDate>
	<author>sogood</author>
	<guid>http://ofly.org/?post=127</guid>

</item></channel>
</rss>