Author Topic: php code inside templates? / php code in den templates?  (Read 2797 times)

0 Members and 1 Guest are viewing this topic.

Offline sound

  • Newbie
  • *
  • Posts: 12
    • View Profile
php code inside templates? / php code in den templates?
« on: June 13, 2005, 08:47:46 PM »
how i can use php code inside the templates?
wie kann ich php code in den templates verwenden?

sample:
<? print("Hello Web!"); ?>

Offline boatman9999

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: php code inside templates? / php code in den templates?
« Reply #1 on: June 13, 2005, 11:09:05 PM »
Go to includes/constants.php

Change:
Code: [Select]
// Allow execution of PHP code in templates
define('EXEC_PHP_CODE', 0);

to:

Code: [Select]
// Allow execution of PHP code in templates
define('EXEC_PHP_CODE', 1);

See FAQ

 http://www.4homepages.de/forum/index.php?topic=4295.0