On Tue, 19 Oct 2004 20:13:23 +0200, Marco Bambini [EMAIL PROTECTED] wrote:
I need to write a PHP extension or a PHP template system (this is the
question) to parse some commands enclosed in square brackets inside web
pages. Please note that the commands are in the form [command1] and not
?php
On 19/ott/04, at 20:34, Greg Donald wrote:
On Tue, 19 Oct 2004 20:13:23 +0200, Marco Bambini
[EMAIL PROTECTED] wrote:
I need to write a PHP extension or a PHP template system (this is the
question) to parse some commands enclosed in square brackets inside
web
pages. Please note that the commands
I am thinking in theory include() the file in to a wrapper php file
that can then do as Marco says evaluate or do a series of
str_replaces?
[quote from previous emails]
I'm sure there are. For example you can convert the string using
htmlspecialchars, and then convert only allowed tags back:
I was just reading a little on this. This is the way you build a template
system. Smarty uses { }. Maybe you could check out the Smarty page and get
an idea. http://smarty.php.net/
Or maybe you could just use Smarty, you can change the { } to anything you
want.
Hi All,
I need to write a
4 matches
Mail list logo