PDA

View Full Version : php include doesn't work in forum header?


Gutspiller
02-04-2002, 08:32 PM
Is this the case?

I have the file in the root of my site and I also tried it in the root of my forum directory and I called it in the header under styles in the Admin CP like this:

<? include("blah.php"); ?>

Did I miss something? If somebody can help me on this it would be very helpful.

Thank you for any help you can offer. :up:

Admin
02-05-2002, 06:57 AM
You can't use PHP code in the templates man...

Use the phpinclude template to execute PHP stuff.

Gutspiller
02-05-2002, 03:03 PM
Originally posted by FireFly
You can't use PHP code in the templates man...

Use the phpinclude template to execute PHP stuff.

Will it still appear in the header? I can't just have it execute anywhere. It is TubeDoggs latest threads hack for NON vb pages, BUT appearantly nobody creates a "latest threads hack" for VB PAGES, because I looked all over for it and I couldn't find one, besides one that was in the vb stats, and I didn't want to do any ripping through the vbstats code.

Any help Firefly? I want it to be the last thing in my header, but the way tubedoggs hack works is it just includes the php file. Is there any other way to get it to work? :confused: