PDA

View Full Version : including files


edw1n
10-03-2002, 10:51 PM
is doing such a thing possible into the vb style code ?

for instance into the header template?

<? require("test.php"); ?>

if this is posted in the wrong section im sorry, can a moderator please remove the post if so.

thankyou for your time.

NTLDR
10-03-2002, 11:07 PM
You can add:

require('./test.php');

Into the phpinclude template, but not in any other. Also don't use the <?php and ?> they are not required.

Dean C
10-04-2002, 06:30 PM
Thats correct...

In the vbulletin template system you can only use code in the phpinclude template..

But be careful because if you add a query into it - it will add that query onto every page :D

- miSt