<?xml version="1.0" encoding="gb2312" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">

<channel about="http://www.lqiang.org">
<title>LQiang's Blog</title> 
<link>http://www.lqiang.org</link>
<description>Welcome to LQiang's Blog</description>
<language>zh-cn</language>
<copyright>O-blog</copyright><item>
<title>自己学正则时做的笔记，其实正则也不难哦</title>
<link>http://www.lqiang.org/index.php?id=515</link>
<pubDate>Thu, 02 Sep 2010 15:51:54 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=515</guid>
<description><![CDATA[ RT，正则可以搞定的东西很多哦，大家学习学习吧 <br />一.正则表达式 <br />1.匹配符 <br />1)头匹配符&quot;^&quot;:如^0754,只匹配开头为0754的字符串 <br />2)尾匹配符&quot;$&quot;:如0754$,只匹配结尾为0754的字符串 <br />3)全字匹...]]></description>
</item><item>
<title>站点缩略图生成器 | 在线网页截图的解决方案 | for PHP</title>
<link>http://www.lqiang.org/index.php?id=514</link>
<pubDate>Wed, 01 Sep 2010 12:53:36 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=514</guid>
<description><![CDATA[ Website Thumbnail Generator<br />站点缩略图生成器<br />出处：<br /><a href="http://www.zubrag.com/scripts/website-thumbnail-generator.php" target="_blank">http://www.zubrag.com/scripts/website-thumbnail-generator.php</a><br />翻译：<br />[...]]></description>
</item><item>
<title>正则表达式 轻松验证IPV6</title>
<link>http://www.lqiang.org/index.php?id=513</link>
<pubDate>Tue, 31 Aug 2010 08:27:11 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=513</guid>
<description><![CDATA[  IPV6的时代快要到来了，发一个验证IPV6地址是否合法的正则。<br /><br /><br />[code]&lt;?php <br />// literally from the ABNF in rfc3986 (thanks to 'WCP') <br />function validateIPv6($IP) <br />{ <br />return preg_match('/\A <br />(?: ...]]></description>
</item><item>
<title>利用PHP实现 XML和MySQL的相互转换</title>
<link>http://www.lqiang.org/index.php?id=512</link>
<pubDate>Mon, 30 Aug 2010 08:13:32 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=512</guid>
<description><![CDATA[ mysql2xml.php类文件：用于备份MySQL数据的！<br />[code]&lt;?php    <br />class MySQL2XML {    <br />        protected $conn;    <br />        protected $result;    <br />        protected $tables;    <br />        protected $...]]></description>
</item><item>
<title>preg_replace 基础入门应用</title>
<link>http://www.lqiang.org/index.php?id=511</link>
<pubDate>Sun, 29 Aug 2010 08:23:47 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=511</guid>
<description><![CDATA[ &lt;?php<br /><br />$str=&quot;as2223adfsf0s4df0sdfsdf&quot;;<br /><br />echo preg_replace(&quot;/0/&quot;,&quot;&quot;,$str);　//去掉0字符，此时相当于 replace的功能, preg_replace(&quot;/0/&quot;,&quot;A&quot;,$str);...]]></description>
</item><item>
<title>PHP获取远程站点响应内容的方法总结</title>
<link>http://www.lqiang.org/index.php?id=510</link>
<pubDate>Sun, 29 Aug 2010 08:21:11 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=510</guid>
<description><![CDATA[ 方法1: 用file_get_contents 以get方式获取内容<br />&lt;?php<br />$url='http://www.domain.com/';<br />$html = file_get_contents($url);<br />echo $html;<br />?&gt;<br /><br />方法2：用file_get_contents函数,以post方式获取url<br />&lt;?p...]]></description>
</item><item>
<title>PHP立即刷新缓存（输出）的方法</title>
<link>http://www.lqiang.org/index.php?id=509</link>
<pubDate>Sat, 28 Aug 2010 08:13:08 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=509</guid>
<description><![CDATA[ 近日，飘易在写一段php程序，需要用到立即刷新缓存，输出到浏览器的效果。本来，利用 ob_flush() 和 flush() 两个函数就可以立即输出了。但我在实际应用中，发现不同的服务器之间是不兼容的。 <br />    比如，我在本地的...]]></description>
</item><item>
<title>在服务器缓存PHP动态页面加速浏览源码</title>
<link>http://www.lqiang.org/index.php?id=508</link>
<pubDate>Fri, 27 Aug 2010 23:08:08 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=508</guid>
<description><![CDATA[ 使用动态网站虽然网站动起来了，但是访问量一大了，服务器就受不了，网民就更受不了，所以总想找一些平衡的方法，想到了使用缓存，使用前，先在根目录创建“cache”文件夹，然后运行temp.php，第一次运行和第二次运行...]]></description>
</item><item>
<title>php控制用户的浏览器</title>
<link>http://www.lqiang.org/index.php?id=507</link>
<pubDate>Thu, 26 Aug 2010 07:49:10 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=507</guid>
<description><![CDATA[ 用PHP控制用户的浏览器--ob*函数的使用 <br />　　Output Control 函数可以让你自由控制脚本中数据的输出。它非常地有用，特别是对于：当你想在数据已经输出后，再输出文件头的情况。输出控制函数不对使用 header() 或 s...]]></description>
</item><item>
<title>远程网络连接mysql速度慢的解决方法:skip-name-resolve取消DNS的反向解析</title>
<link>http://www.lqiang.org/index.php?id=506</link>
<pubDate>Wed, 25 Aug 2010 04:19:16 +0800</pubDate>
<guid>http://www.lqiang.org/index.php?id=506</guid>
<description><![CDATA[ PHP远程连接MYSQL速度慢,有时远程连接到MYSQL用时4-20秒不等,本地连接MYSQL正常,出现这种问题的主要原因是,默认安装的MYSQL开启了DNS的反向解析,在MY.INI(WINDOWS系统下)或MY.CNF(UNIX或LINUX系统下)文件的[mysqld]下...]]></description>
</item></channel>
</rss>