PDA

View Full Version : PHP in templates


Shepski
10-07-2002, 03:23 PM
This has prolly already been done but I can see it after searching. i want to "include" php files that displays various things in my header template but it only accepts normal HTML commands. Is there a way of using PHP in the templates. I am running on a Win 2k running IIS5 if thats any help.

TIA

Xenon
10-07-2002, 04:36 PM
there is just one template which supports php: phpinclude
include your file there

Shepski
10-07-2002, 09:23 PM
i have checked the template pdf file but its not very helpful. how do i use this to include a file that will be displayed somewhere just below the forum logo.

take a look at my forums in my sig link, i want to display the file results just above the pictures of dvds and just below the forum logo.

Xenon
10-08-2002, 12:39 PM
you have to change your included file to save all output into a variable and the put the variable where you want it

g-force2k2
10-08-2002, 08:12 PM
you can always check this out:

https://vborg.vbsupport.ru/showthread.php?s=&threadid=43325

it allows for php to be used in templates ;) regards..

g-force2k2

Shepski
10-09-2002, 10:11 AM
I have sorted it now thanks :)

take a look at here (http://www.dvd-swaps.co.uk/dvd2001/dvdforums/) to see the results :)