摘要: 一直对include_path的作用不了解,也没怎么注意过它的用途,今天在网上看一些资料后明白了,记录一下: 其实设置include_path的作用就是设置用include()函数包函文件时的路径,当然也可以不设置include_path,只要在包函文件时写出具体的文件相对或绝对路即可:下面以安装smarty为例:下面内容中,我们都是假设你的文件放在了D:\Appserv\www\Smarty下。 1、找到你的php.ini配置文件修改php.ini的include_path选项,把smarty的库文件路径加上,比如:include_path = "D:\Appserv\www\Smarty 阅读全文
posted @ 2010-12-13 14:40 坤坤同学 阅读(23174) 评论(0) 推荐(2) 编辑
摘要: 转自:http://www.phpinternals.com/blog/2008/07/zend-framework-tutorials/因原文访问不便,故收录如此,供参考。原文链接:http://phpimpact.wordpress.com/2008/04/03/zend-framework-tutorials/A compilation of Zend Framework tutorials for people who want to develop Web applications using this simple and powerful framework.Getting St 阅读全文
posted @ 2010-12-13 11:31 坤坤同学 阅读(443) 评论(0) 推荐(0) 编辑