[pLog-general] Including PHP

Mike Welsh yomcat at yomcat.geek.nz
Thu Dec 9 06:29:18 GMT 2004


On 9/12/2004, at 6:55 PM, Oscar Renalias wrote:

> Mike,
>
> may I ask why you're trying to include php code in the templates? Is
> it because of any specific functionality?
Its my stats counter outputting some data that I'd like on my index. I 
could do it with an iFrame or some JS, but I prefer the pure PHP way.
>
> If you're planning to include(...) stuff, you might need to play with
> the path or use the constant PLOG_CLASS_PATH to get a direct reference
> to the folder where plog is installed.
Thanks for the heads up
>
> Oscar
Mike
>
>
--
http://yomcat.geek.nz
http://nztuatara.co.nz




More information about the pLog-general mailing list