RE: [SMARTY] generating php
| From: | Martijn van Zal | Date: | Sat, 08 Jun 2002 12:19:19 +0000 |
| Subject: | RE: [SMARTY] generating php | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4694@lists.php.net to get a copy of this message | ||
Hahahaha, Let me get this straight....
U write a program using PHP, you combine this with a template engine
which produces PHP code, with the purpose of let that produced PHP code
produce PHP code?
Seems a little complicated to me, and I'm very curious why you wan't to
use it. But it seems possible to me.
I think you have to adjust the $php_handling variable to
SMARTY_PHP_PASSTHRU, and you might want to change the delimiter tags,
because { and } are not really practical. Maybe {{ and }} is better.
Let us know if it worked out, I'm very curious.
Greets,
____________________________________________
Martijn van Zal GFXartist network
Technical manager
Mail: Martijn@gfxartist.com
Icq: 8213621
-----Original Message-----
From: Travis Low [mailto:travis@dawnstar.org]
Sent: zaterdag 8 juni 2002 5:10
To: smarty-general@lists.php.net
Subject: [SMARTY] generating php
Anyone out there using Smarty to generate PHP code?
I don't think it's possible, but I wanted to check.
cheers,
Travis
--
Travis Low
<mailto:travis@dawnstar.org>
<http://dawnstar.org/travis>
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php