<?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://taoworkshop.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://taoworkshop.com</link>
	<description>站長指南-Web hosting及WordPress設定</description>
	<lastBuildDate>Wed, 13 Mar 2013 11:39:28 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>WP: 在分頁(Page)執行 PHP的方法</title>
		<link>http://taoworkshop.com/2012/01/03/wordpress-run-php-in-page-by-php-exe/</link>
		<comments>http://taoworkshop.com/2012/01/03/wordpress-run-php-in-page-by-php-exe/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 13:27:34 +0000</pubDate>
		<dc:creator><![CDATA[陶]]></dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Exec-PHP]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Exec]]></category>
		<category><![CDATA[分頁]]></category>

		<guid isPermaLink="false">http://taoworkshop.com/?p=379</guid>
		<description><![CDATA[想在Page行PHP，又不想iframe套入? 可以安裝PHP Exec 的Plugin。 先下載 <a href="http://taoworkshop.com/2012/01/03/wordpress-run-php-in-page-by-php-exe/">&#160;&#160;[ Read More ]</a>]]></description>
				<content:encoded><![CDATA[<p>想在Page行PHP，又不想iframe套入?</p>
<p>可以安裝PHP Exec 的Plugin。</p>
<ol>
<li>先下載 <a href="http://priyadi.net/wp-content/plugins/phpexec.txt">phpexec.txt</a> 並另存為 phpexec.php</li>
<li>上載到 <code>wp-content/plugins</code> directory</li>
<li>到控制台-&gt;外掛-&gt;installed plugin (安裝外掛)-&gt; 選啟用</li>
</ol>
<p>使用時，要特別在前後加上&lt;phpcode&gt;及&lt;/phpcode&gt;<br />
例子:</p>
<blockquote>
<pre>&lt;phpcode&gt;
&lt;?php echo "Current date and time: "; echo date("l dS of F Y h:i:s A"); ?&gt; 
&lt;/phpcode&gt;</pre>
</blockquote>
<p>參考:<a href="http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/">http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/</a></p>
<p>如覺下載、上載並不方便，可安裝控制台-&gt;外掛-&gt;installed plugin (安裝外掛)-&gt; 搜尋exec PHP-&gt;安裝-&gt; 啟用<br />
這個是受 Exec-PHP 啟發而寫的，個人覺得是比較好用!</p>
]]></content:encoded>
			<wfw:commentRss>http://taoworkshop.com/2012/01/03/wordpress-run-php-in-page-by-php-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
