PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

$php_handling

this tells smarty how to handle php code embedded in the templates. there are four possible settings, default being smarty_php_passthru. note that this does not affect php code within {php}{/php} tags in the template.

  • smarty_php_passthru - smarty echos tags as-is.

  • smarty_php_quote - smarty quotes the tags as html entities.

  • smarty_php_remove - smarty removes the tags from the templates.

  • smarty_php_allow - smarty will execute the tags as php code.

note: embedding php code into templates is highly discouraged. use custom functions or modifiers instead.