C语言 c++ php mysql nginx linux lnmp lamp lanmp memcache redis 面试 笔记 ppt 设计模式 问题 远程连接

随笔 - 305  文章 - 1  评论 - 50  阅读 - 168万
01 2013 档案
js页面测速
摘要:前台页面:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" 阅读全文
posted @ 2013-01-22 11:50 思齐_ 阅读(3474) 评论(0) 推荐(0) 编辑
smarty常用总结
摘要:debug: 1.$tpl->debugging_ctrl = 'URL'; 然后在你正常访问的url中加入?SMARTY_DEBUG,如: http://test/smarty_test/test_tpl.php?SMARTY_DEBUG 这样就会弹出调试窗口了。 注意:$tpl->debugging这时要为默认值false; 注意: url传入?SMARTY_DEBUG时当页有效(不设cookie) 当传入?SMARTY_DEBUG=on时可以一次启动debug(用cookie)以后不传?SMARTY_DEBUG这时也可以调试 当传入?SMA... 阅读全文
posted @ 2013-01-10 11:54 思齐_ 阅读(248) 评论(0) 推荐(0) 编辑
smarty安装
摘要:define(ROOT, dirname(__FILE__).DIRECTORY_SEPARATOR); include ROOT."libs/Smarty.class.php"; $tpl=new Smarty; $tpl->template_dir=ROOT."tpl/"; //模板文件 $tpl->compile_dir=ROOT."com"; //生成编译后的文件 $tpl->config_dir=ROOT."configs"; //配置文件 $tpl->left_delimiter 阅读全文
posted @ 2013-01-10 11:29 思齐_ 阅读(187) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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