<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>http://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>http://www.linuxfly.org/post/526/</link>
<title><![CDATA[[原]搭建Eclipse PDT开发CakePHP的环境]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Php]]></category>
<pubDate>Tue, 06 Jul 2010 06:14:53 +0000</pubDate> 
<guid>http://www.linuxfly.org/post/526/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;Eclipse 是常见的开源IDE工具，通过增加插件，可用于PHP开发。下文参考CakePHP的<a href="http://bakery.cakephp.org" target="_blank">bakery</a>中一文：<a href="http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake" target="_blank">Setting up Eclipse to work with Cake</a>，搭建一个Windows 7下面用于调试CakePHP的环境。特标注一些需留意的地方。<br/>............<br/><br/>Tags - <a href="http://www.linuxfly.org/tags/eclipse/" rel="tag">eclipse</a> , <a href="http://www.linuxfly.org/tags/php/" rel="tag">php</a>
]]>
</description>
</item><item>
<link>http://www.linuxfly.org/post/522/</link>
<title><![CDATA[[原]PHP变量使用大括号的异同]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Php]]></category>
<pubDate>Fri, 04 Jun 2010 17:40:30 +0000</pubDate> 
<guid>http://www.linuxfly.org/post/522/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;前一篇日志提到的PHP Notice警告导致Ajax请求失效的情况。深究其原因，还是在13行的switch语句上。因此，我做了一些关于PHP变量使用大括号的测试，也发现了一下使用中需注意的地方。<br/>............<br/><br/>Tags - <a href="http://www.linuxfly.org/tags/php/" rel="tag">php</a> , <a href="http://www.linuxfly.org/tags/%25E5%25A4%25A7%25E6%258B%25AC%25E5%258F%25B7/" rel="tag">大括号</a> , <a href="http://www.linuxfly.org/tags/variable/" rel="tag">variable</a> , <a href="http://www.linuxfly.org/tags/braces/" rel="tag">braces</a>
]]>
</description>
</item><item>
<link>http://www.linuxfly.org/post/521/</link>
<title><![CDATA[[原]PHP的警告信息对Ajax页面的影响]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Php]]></category>
<pubDate>Fri, 04 Jun 2010 15:36:10 +0000</pubDate> 
<guid>http://www.linuxfly.org/post/521/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;今天，把程序部署到红旗Linux平台上，遇到一个问题：原来在Windows XAMPP环境中好好的一个用Ajax提交请求的页面，在Linux下失效了。经查看后台日志，发现如下的Notice信息：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">PHP Notice:&nbsp;&nbsp;Use of undefined constant action - assumed &#039;action&#039; in /var/www/html/phpcrm/inc/xml_projects.php on line 13<br/>PHP Notice:&nbsp;&nbsp;Use of undefined constant child - assumed &#039;child&#039; in /var/www/html/phpcrm/inc/xml_projects.php on line 13</div></div><br/>问题也正是出在这里。<br/>............<br/><br/>Tags - <a href="http://www.linuxfly.org/tags/php/" rel="tag">php</a> , <a href="http://www.linuxfly.org/tags/ajax/" rel="tag">ajax</a> , <a href="http://www.linuxfly.org/tags/variable/" rel="tag">variable</a>
]]>
</description>
</item><item>
<link>http://www.linuxfly.org/post/520/</link>
<title><![CDATA[[原]Smarty的保留变量为null]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Php]]></category>
<pubDate>Thu, 03 Jun 2010 10:33:53 +0000</pubDate> 
<guid>http://www.linuxfly.org/post/520/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;Smarty 中可用的变量一般有三种：1、来自PHP页面，通过assign()方法传递的变量；2、保留变量，即相当于PHP中预定义的变量；3、从配置文件中读取的变量。引用方法很简单，我就不详细说明了，具体可见：<a href="http://www.hbcms.com/main/smarty/language.variables.html" target="_blank">这里</a>。不过，我遇到一个问题，就是在模板中引用保留变量时，其值为空（null ）。开始感觉比较奇怪，后发现是其引用于PHP的php.ini中register_long_arrays设置、Smarty对象的request_use_auto_globals 属性有关。<br/>............<br/><br/>Tags - <a href="http://www.linuxfly.org/tags/php/" rel="tag">php</a> , <a href="http://www.linuxfly.org/tags/smarty/" rel="tag">smarty</a>
]]>
</description>
</item><item>
<link>http://www.linuxfly.org/post/478/</link>
<title><![CDATA[[原]Linux下安装PHP的Smarty模块]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Php]]></category>
<pubDate>Fri, 31 Jul 2009 10:21:27 +0000</pubDate> 
<guid>http://www.linuxfly.org/post/478/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;模版引擎的目的，就是要达到逻辑分离的功能。它能让程序开发者专注于资料的控制或是功能的达成；而视觉设计师则可专注于网页排版，让网页看起来更具有专业感！Smarty 是PHP的“半官方”的模板化引擎，可能是最流行、功能最强大的PHP模板化引擎，可以自由使用。<br/>............<br/><br/>Tags - <a href="http://www.linuxfly.org/tags/php/" rel="tag">php</a> , <a href="http://www.linuxfly.org/tags/smarty/" rel="tag">smarty</a>
]]>
</description>
</item>
</channel>
</rss>