摘要: 参考网络上的资料,使用Smarty可以简单的测试: 1.解压Smarty到网站目录下,比如起名libs. 2.建立templates,templates_c,configs,cache目录 3.建立测试页面:index.php <?php require "main.php"; //$tpl在main.php中定义 $tpl->assign("title", "测试用的网页标题");... 阅读全文
posted @ 2009-05-20 09:24 garfieldtom 阅读(301) 评论(0) 推荐(0)