How i can put php functions in template file? How i can put php functions in template file?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How i can put php functions in template file?

Started by N2GetherNow, July 18, 2009, 07:39:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

N2GetherNow

i do this:

define('TEMPLATE_FILE', 'template.php'); in include/init.inc.php
but functions that i put doesn't work (they works fine, when i put them in stand alone file)

i want to be performed on server instead of client browser, any ideas ?