To make things possible first go to your Administration Control Panel -> General -> Security Settings and enable Allow php in templates option.
Then you can use the following syntax to add php code:
<!-- PHP --> echo "PHP Code!"; <!-- ENDPHP -->
To include php files:
<!-- PHP --> include("/path/to/file.php"); <!-- ENDPHP -->
1 comment:
Great post, I benefited from it. Couldn't find a decent include example for phpbb3.
Thanks,
ultimatum.
Post a Comment