Re: PHP allow bug

From: Date: Mon, 19 Feb 2001 19:22:15 +0000
Subject: Re: PHP allow bug
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-151@lists.php.net to get a copy of this message
Hojtsy Gabor wrote: > > > The top of the Smarty.class.php file had a short tag. I noticed that > > last week and changed it to <?php. This will be updated in 1.3.0. > > The same for addons and config... Yes, this will all be changed. > Please also modify the allow PHP section, > as I suggested, to be XML compatible. Here is what we are currently planning on doing for 1.3.0: * drop $php_allow * add $php_handling with the following possible values: SMARTY_PHP_QUOTE -> escape the tags into entities SMARTY_PHP_PASSTHRU -> echo the tags exactly as-is SMARTY_PHP_REMOVE -> remove php code entirely SMARTY_PHP_ALLOW -> allow php code to execute default being SMARTY_PHP_PASSTHRU thoughts on this? Monte

« previous php.smarty.general (#151) next »