1 (edited by bensh 2005-05-07 16:17)

Topic: How to run php from main.tpl

Hi,

I like to include a small php script (for logging purposes) in all my forum pages viewed. Put it seems that when I include something like <?php include_once '../somepath/somescript'; ?> into main.tpl, it doesn't get run. What can I do?

Thanks,
bensh

Re: How to run php from main.tpl

Here you go

Re: How to run php from main.tpl

Yeah, Rickard has made it really simple to modify the code.

Re: How to run php from main.tpl

And thats why we love him... In a manly way *drinks beer and farts*

Re: How to run php from main.tpl

Damn right...*scratches self*