Home > Backend Development > PHP Tutorial > Template相关的解决办法

Template相关的解决办法

WBOY
Release: 2016-06-13 13:44:35
Original
767 people have browsed it

Template相关的
看过Smarty,但真的实在是太庞大了,很多东西都用不上,而且,相关的语法还得重新学习!于是,决定自己写个简单点的,基于php原生脚本的,实现是很简单,但是安全性太低了!但是,正则就从来没有好好的学过(毕竟php可以代替正则的真的有很多),好吧,决定开始好好学学正则,但是,替换一般的自定义函数好说,可是,替换系统函数或者屏蔽又该如何做到呢?请教,还有,我看到有些甚至可以让tpl无法声明函数,这要怎么做?抱歉,也许这很简单,但我是菜鸟不是吗?哈哈

------解决方案--------------------
http://www.php100.com/html/webkaifa/PHP/PHPyingyong/2009/0412/290.html
http://book.51cto.com/art/200909/154077.htm
支持自己写个 smarty其实挺简单的 不过确实有点庞大

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template