新进化论

道生一,一生二,二生三,三生万物。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  1021 随笔 :: 34 文章 :: 76 评论 :: 85万 阅读

文章分类 -  PHP相关

包括Smarty等
摘要:1。解压后将libs目录放到php的include_path所在地方。或者在程序中设置常量路径2。每个应用程序建立templates,templates_c,configs目录。或者用smarty来指定相关目录,注意templates_c必须让web服务器用户具有写的权限。最好chmod 700 templates_c,如果使用了Smarty内建的cache,可以建立一个cache目录,权限设置同... 阅读全文
posted @ 2004-09-01 10:48 岌岌可危 阅读(430) 评论(0) 推荐(0) 编辑

摘要:Welcome back! In my last column I introduced you to basic PHP references and how they are used. This week, I'll take that basic introduction a step further and implement some of the more advanced uses... 阅读全文
posted @ 2004-08-31 10:47 岌岌可危 阅读(357) 评论(0) 推荐(0) 编辑

摘要:The track_vars and register_globals configuration settings influence how the session variables get stored and restored 如果激活,则环境变量,GET,POST,Cookie 和 Server 变量都能够分别在全局关联数组中找到:$_ENV,$_GET,$_POST,$_C... 阅读全文
posted @ 2004-08-27 15:45 岌岌可危 阅读(405) 评论(0) 推荐(0) 编辑

摘要:Smarty是PHP的模板引擎之一。简单的讲就是在你的php程序里你把要用到的变量分配到模板中,然后将他们用于页面输出. Smarty和PHPA(或Zend Cache)的不同:PHPA只是在内存中缓存了PHP脚本编译过的bytecode。这加速了服务器的响应时间和节省了编译步骤,而Smarty创建的PHP script,PHPA也能很好的做Cache,现在Smarty内置的cache... 阅读全文
posted @ 2004-08-26 09:27 岌岌可危 阅读(837) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示