<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>陈志伟博客 &#187; php</title>
	<atom:link href="http://chenzhiwei.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://chenzhiwei.net</link>
	<description>善始者实繁，克终者盖寡。</description>
	<lastBuildDate>Tue, 03 Jan 2012 09:14:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>让旧版本的PHP支持json</title>
		<link>http://chenzhiwei.net/2011/11/old-version-php-support-json/</link>
		<comments>http://chenzhiwei.net/2011/11/old-version-php-support-json/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 15:17:31 +0000</pubDate>
		<dc:creator>zhiwei</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://chenzhiwei.net/?p=30441</guid>
		<description><![CDATA[JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式，它可以将 JavaScript 对象中表示的一组数据转换为字符串，然后就可以在函数之间轻松地传递这个字符串，或者在异步应用程序中将字符串从 Web 客户机传递给服务器端程序。这个字符串看起来有点儿古怪，但是 JavaScript 很容易解释它，而且 JSON 可以表示比名称 / 值对更复杂的结构。例如，可以表示数组和复杂的对象，而不仅仅是键和值的简单列表。 在旧版本的php中是默认不支持json的，这就需要我们编译一个json的php扩展，方法如下： 1. 下载源码： http://pecl.php.net/package/json 2. 解压 3. 依次运行 phpize ; ./configure; make; make install 4. 在php配置文件php.ini上加上extension=”json.so” 5. 如果是跑的网页代码中用到了json，那么还需要重启apache &#169; 2011, chenzhiwei.net. 版权所有. 本文永久链接：http://chenzhiwei.net/2011/11/old-version-php-support-json/相关日志wordpress主题常用的代码Cannot modify header information的问题]]></description>
			<content:encoded><![CDATA[<p>JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式，它可以将 JavaScript 对象中表示的一组数据转换为字符串，然后就可以在函数之间轻松地传递这个字符串，或者在异步应用程序中将字符串从 Web 客户机传递给服务器端程序。这个字符串看起来有点儿古怪，但是 JavaScript 很容易解释它，而且 JSON 可以表示比名称 / 值对更复杂的结构。例如，可以表示数组和复杂的对象，而不仅仅是键和值的简单列表。<span id="more-30441"></span></p>
<p>在旧版本的php中是默认不支持json的，这就需要我们编译一个json的php扩展，方法如下：</p>
<p>1. 下载源码： http://pecl.php.net/package/json</p>
<p>2. 解压</p>
<p>3. 依次运行 phpize ; ./configure; make; make install</p>
<p>4. 在php配置文件php.ini上加上extension=”json.so”</p>
<p>5. 如果是跑的网页代码中用到了json，那么还需要重启apache</p>
<p style="font-weight: bold;">&copy; 2011, <a href="http://chenzhiwei.net">chenzhiwei.net</a>. 版权所有.  <br />本文永久链接：<a title="让旧版本的PHP支持json" href="http://chenzhiwei.net/2011/11/old-version-php-support-json/">http://chenzhiwei.net/2011/11/old-version-php-support-json/</a></p><hr /><div  class="related_post_title">相关日志</div><ul class="related_post"><li><a href="http://chenzhiwei.net/2010/07/wordpress-useful-code/" title="wordpress主题常用的代码">wordpress主题常用的代码</a></li><li><a href="http://chenzhiwei.net/2009/04/cannot-modify-header-information/" title="Cannot modify header information的问题">Cannot modify header information的问题</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://chenzhiwei.net/2011/11/old-version-php-support-json/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wordpress主题常用的代码</title>
		<link>http://chenzhiwei.net/2010/07/wordpress-useful-code/</link>
		<comments>http://chenzhiwei.net/2010/07/wordpress-useful-code/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 09:54:49 +0000</pubDate>
		<dc:creator>zhiwei</dc:creator>
				<category><![CDATA[建站相关]]></category>
		<category><![CDATA[默认分类]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[博客]]></category>

		<guid isPermaLink="false">http://chenzhiwei.net/?p=30304</guid>
		<description><![CDATA[很多同学的wordpress博客主题侧边栏都有最新文章、随机文章、最新评论等等内容，而单篇文章下方也会加上版权信息，我之前添加版权信息就是在写每篇文章时，在最后加上，但是这样太麻烦，自己在网上搜索一下，然后又仿照一些知名博客的相应设置自己也在博客文章页面加上了版权信息，由于最近比较忙，一直没空写出来，今天就把它写出来与大家分享一下。 1. 最新/随机文章 1 2 3 4 5 6 7 global $post; $myposts = get_posts('numberposts=9&#38;offset=1&#38;orderby=rand'); foreach($myposts as $post) : setup_postdata($post); ?&#62; &#60;li&#62;&#60;a href=&#34;&#60;?php the_permalink&#40;&#41;; ?&#62;&#34; title=&#34;&#60;?php the_title&#40;&#41;; ?&#62;&#34;&#62;&#60;?php the_title&#40;&#41;; ?&#62;&#60;/a&#62;&#60;/li&#62; &#60;?php endforeach; 最新/随机文章用的是wordpress现成的函数调用，上述代码中的numberposts=9是指显示9篇文章，orderby=rand意思是随机显示，如果是orderby=date就是最新文章了，当然还得order=desc，意思是按日期降序排列，懂sql语言的同学很容易就能看明白，这里有更详细的官方介绍，不过是英文的。这个地方是获得最新文章的另一种方法。 2. 最新评论 1 2 3 4 5 6 7 $comments = get_comments('number=9&#38;$status=approve&#38;offset=1'); foreach($comments as $comm) : $comm-&#62;comment_content=mb_substr($comm-&#62;comment_content,0,20); ?&#62; &#60;li&#62;&#60;a href=&#34;&#60;?php echo&#40;get_permalink&#40;$comm-&#62;comment_post_ID&#41;&#41;; ?&#62;#comment-&#60;?php [...]]]></description>
			<content:encoded><![CDATA[<p>很多同学的wordpress博客主题侧边栏都有最新文章、随机文章、最新评论等等内容，而单篇文章下方也会加上版权信息，我之前添加版权信息就是在写每篇文章时，在最后加上，但是这样太麻烦，自己在网上搜索一下，然后又仿照一些知名博客的相应设置自己也在博客文章页面加上了版权信息，由于最近比较忙，一直没空写出来，今天就把它写出来与大家分享一下。<br />
<span id="more-30304"></span><br />
<strong>1. 最新/随机文章</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">global $post;
	 $myposts = get_posts('numberposts=9&amp;offset=1&amp;orderby=rand');
	 foreach($myposts as $post) :
	   setup_postdata($post);
	 ?&gt;
		&lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;&lt;/li&gt;
	 <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>最新/随机文章用的是wordpress现成的函数调用，上述代码中的numberposts=9是指显示9篇文章，orderby=rand意思是随机显示，如果是orderby=date就是最新文章了，当然还得order=desc，意思是按日期降序排列，懂sql语言的同学很容易就能看明白，<a href="http://codex.wordpress.org/Function_Reference/get_posts" target="_blank">这里</a>有更详细的官方介绍，不过是英文的。这个<a href="http://codex.wordpress.org/Function_Reference/wp_get_recent_posts" target="_blank">地方</a>是获得最新文章的另一种方法。</p>
<p><strong>2. 最新评论</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">$comments = get_comments('number=9&amp;$status=approve&amp;offset=1');
		  foreach($comments as $comm) :
			$comm-&gt;comment_content=mb_substr($comm-&gt;comment_content,0,20);
		?&gt;
		  &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_post_ID</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>#comment-<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;view the entire comment by <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comm</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;&lt;/li&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span>
		  <span style="color: #b1b100;">endforeach</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>最新评论这个代码用了我很长时间才写好，一般网上的方法都是直接去查询数据库，写一大堆代码，太麻烦了，我在<a href="http://codex.wordpress.org/Function_Reference/get_comments" target="_blank">wordpress官方文档</a>上找到了这个方法，很好用，不过总是最后一条评论显示不出来，目前也没有找到原因。代码说明我就不写了，很简单的。</p>
<p><strong>3. 版权信息</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> insertNote<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">||</span>is_feed<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$content</span><span style="color: #339933;">.=</span><span style="color: #0000ff;">'&lt;p style=&quot;font-weight: bold;&quot;&gt;&amp;copy; '</span><span style="color: #339933;">.</span> get_the_time<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">', &lt;a href=&quot;http://chenzhiwei.net&quot;&gt;chenzhiwei.net&lt;/a&gt;. 版权所有.  &lt;br /&gt;'</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$content</span><span style="color: #339933;">.=</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$content</span><span style="color: #339933;">.=</span> <span style="color: #0000ff;">'本文永久链接：&lt;a title=&quot;'</span><span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;&lt;/p&gt;'</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>is_feed<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$content</span><span style="color: #339933;">.=</span><span style="color: #0000ff;">&quot;&lt;hr /&gt;&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
add_filter <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'insertNote'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>版权信息是在主题支持函数里写一个函数，就可以了。也可以将feed里也加入版权信息。以上代码就是我博客里的用，可以参考一下。相关图片如下：</p>
<p><img class="alignnone" title="feed 版权信息" src="http://67.195.19.74/4119/4811292687_0da7d9b079_b.jpg" alt="single" width="590" height="280" /></p>
<p><img class="alignnone" title="single page 版权信息" src="http://67.195.19.74/4122/4811292695_8c31c8ac67_b.jpg" alt="single" width="563" height="145" /></p>
<p><strong>4. 存档页面</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;archive&quot;&gt;
&nbsp;
	&lt;strong&gt;by page:&lt;/strong&gt;
		&lt;ul&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;/ul&gt;
&nbsp;
	&lt;strong&gt;by month:&lt;/strong&gt;
		&lt;ul&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_get_archives<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'type=monthly'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;/ul&gt;
&nbsp;
	&lt;strong&gt;by category:&lt;/strong&gt;
		&lt;ul&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_categories<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=name&amp;title_li='</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		&lt;/ul&gt;
&nbsp;
&lt;/div&gt;
&nbsp;
&lt;div class=&quot;archive&quot;&gt;
&nbsp;
	&lt;strong&gt;by post:&lt;/strong&gt;
		&lt;ul&gt;
			<span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_get_archives<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'type=postbypost&amp;limit=100'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
		&lt;/ul&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>有些同学一直在用插件实现文档存档，不过，我认为博客里最好还是少用插件，这样可以减轻服务器负担，也减少了升级插件的麻烦，下面就是我存档页面用的代码。</p>
<p>以上就是我博客里用到的一些代码，以后再用其他代码时，我会及时补充上来。</p>
<p style="font-weight: bold;">&copy; 2010, <a href="http://chenzhiwei.net">chenzhiwei.net</a>. 版权所有.  <br />本文永久链接：<a title="wordpress主题常用的代码" href="http://chenzhiwei.net/2010/07/wordpress-useful-code/">http://chenzhiwei.net/2010/07/wordpress-useful-code/</a></p><hr /><div  class="related_post_title">相关日志</div><ul class="related_post"><li><a href="http://chenzhiwei.net/2011/01/recently-blog-update/" title="博客最近的更新">博客最近的更新</a></li><li><a href="http://chenzhiwei.net/2009/11/move-blog-again/" title="博客又一次搬家">博客又一次搬家</a></li><li><a href="http://chenzhiwei.net/2009/04/cannot-modify-header-information/" title="Cannot modify header information的问题">Cannot modify header information的问题</a></li><li><a href="http://chenzhiwei.net/2011/11/old-version-php-support-json/" title="让旧版本的PHP支持json">让旧版本的PHP支持json</a></li><li><a href="http://chenzhiwei.net/2011/10/write-write/" title="随写">随写</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://chenzhiwei.net/2010/07/wordpress-useful-code/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Cannot modify header information的问题</title>
		<link>http://chenzhiwei.net/2009/04/cannot-modify-header-information/</link>
		<comments>http://chenzhiwei.net/2009/04/cannot-modify-header-information/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 00:08:10 +0000</pubDate>
		<dc:creator>zhiwei</dc:creator>
				<category><![CDATA[建站相关]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[字符编码]]></category>

		<guid isPermaLink="false">http://blog.chenzhiwei.cn/?p=201</guid>
		<description><![CDATA[今天安装wordpress遇到了一个问题，相信 很多朋友在安装wordpress应用程序或其他PHP应用程序时也遇到过这样的问题：Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp-config.php:1) in /home/xxx/public_html/wp-includes/pluggable.php on line 7 ，我安装过两次，都遇到了这样的问题。 第一次是安装好之后要修改conifg.php里面的数据连接问题，结果出现了这个提示。还有一次是在安装时出现了这个提示，我在网上找了很长时间，最终发现在一篇文章里看到了解决办法。 其实大部分网友使用的编辑器，可能都是 Windows 操作系统所自带的记事本程序（Notepad.exe），而这个程序所支持的编码格式只有 ANSI, Unicode big endian, Unicode 和UTF8 四种。因此，当修改为 wp-config-sample.php 文件（这里以wordpress配置文件为例），另存为 wp-config.php 文件的时候，原本的 UTF8 no BOM(Byte Order Mark) 格式，就是自动保存为 UTF8 ( with BOM )格式。记事本给文件自动添加 BOM （字节顺序标志），因此 wp-config.php 第一行就多出了一个 php 无法识别的标志，因此也就带来了上述的困扰。 解决办法就是在自己电脑上打开该文件，然后另存为ANSI编码格式。当然，你电脑上如果有能区别UTF8 no [...]]]></description>
			<content:encoded><![CDATA[<p>今天安装wordpress遇到了一个问题，相信 很多朋友在安装wordpress应用程序或其他PHP应用程序时也遇到过这样的问题：<code>Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp-config.php:1) in /home/xxx/public_html/wp-includes/pluggable.php on line 7 </code>，我安装过两次，都遇到了这样的问题。<span id="more-201"></span></p>
<p>第一次是安装好之后要修改conifg.php里面的数据连接问题，结果出现了这个提示。还有一次是在安装时出现了这个提示，我在网上找了很长时间，最终发现在一篇文章里看到了解决办法。</p>
<p>其实大部分网友使用的编辑器，可能都是 Windows 操作系统所自带的记事本程序（Notepad.exe），而这个程序所支持的编码格式只有 ANSI, Unicode big endian, Unicode 和UTF8 四种。因此，当修改为 wp-config-sample.php 文件（这里以wordpress配置文件为例），另存为 wp-config.php 文件的时候，原本的 UTF8 no BOM(Byte Order Mark) 格式，就是自动保存为 UTF8 ( with BOM )格式。记事本给文件自动添加 BOM （字节顺序标志），因此 wp-config.php 第一行就多出了一个 php 无法识别的标志，因此也就带来了上述的困扰。</p>
<p>解决办法就是在自己电脑上打开该文件，然后另存为ANSI编码格式。当然，你电脑上如果有能区别UTF8 no BOM与UTF8 with BOM 编辑器的话，你也可以把文件存为UTF8 no BOM格式，这样就不会再出现那个warning了，一切都搞定了。</p>
<p style="font-weight: bold;">&copy; 2009, <a href="http://chenzhiwei.net">chenzhiwei.net</a>. 版权所有.  <br />本文永久链接：<a title="Cannot modify header information的问题" href="http://chenzhiwei.net/2009/04/cannot-modify-header-information/">http://chenzhiwei.net/2009/04/cannot-modify-header-information/</a></p><hr /><div  class="related_post_title">相关日志</div><ul class="related_post"><li><a href="http://chenzhiwei.net/2010/07/wordpress-useful-code/" title="wordpress主题常用的代码">wordpress主题常用的代码</a></li><li><a href="http://chenzhiwei.net/2011/11/old-version-php-support-json/" title="让旧版本的PHP支持json">让旧版本的PHP支持json</a></li><li><a href="http://chenzhiwei.net/2011/01/recently-blog-update/" title="博客最近的更新">博客最近的更新</a></li><li><a href="http://chenzhiwei.net/2010/12/display-pagination-without-plugin/" title="不用插件实现wordpress分页导航的方法">不用插件实现wordpress分页导航的方法</a></li><li><a href="http://chenzhiwei.net/2010/02/change-blog-theme/" title="博客更换主题">博客更换主题</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://chenzhiwei.net/2009/04/cannot-modify-header-information/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

