Don't do it?

You can create a pre-filter that strips those from the source
------Original Message------
From: Robert Goldsmith
To: Template Attribute Language for PHP
ReplyTo: Template Attribute Language for PHP
Subject: [PHPTAL] PHP content in templates
Sent: May 18, 2012 09:07

Hello :)

We've noticed you can just drop <?php php-code ?> in a tal template and it will 
drop it in the compiled template file and execute it. This is not something we 
want to happen so any suggestions on the best way to prevent it?

Robert Goldsmith

PHPTAL mailing list

Sent via BlackBerry by AT&T

PHPTAL mailing list

Reply via email to