On 19/ott/04, at 20:34, Greg Donald wrote:
On Tue, 19 Oct 2004 20:13:23 +0200, Marco Bambini <marco@xxxxxxxxxxxxxxx> 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 [command1] ?>.
I want use PHP because these commands needs to be remapped with a "web
oriented" language.
Is it technically possible to remap these square brackets tags to php? And if yes, what is the best way? A custom template system or a C PHP extension?
Why not just write PHP code normally and use eval() to parse it out?
I can't alter the "code". I need PHP to execute these commands but I can't write PHP code inside that pages.
Any help?
Thanks, Marco Bambini
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php