Don't do it?

You can create a pre-filter that strips those from the source
------Original Message------
From: Robert Goldsmith
Sender: phptal-boun...@lists.motion-twin.com
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
----
Robert Goldsmith
rgoldsm...@names.co.uk





_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Sent via BlackBerry by AT&T

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to