Log in

View Full Version : Creating new php page


mcyates
04-20-2003, 02:11 PM
I want to create a new php page called linkswap.php I would like it to include the header and the footer from the site, how would i go about doing this?

filburt1
04-20-2003, 02:29 PM
Put it in your vB directory and use:

<?
require("./global.php");

eval("dooutput(\"" . gettemplate("name_of_your_template") . "\");");
?>

colicab-d
04-21-2003, 09:43 AM
i got a little tool for thr admin panel that will do this soon, aswell as make the page plus the template in the templates area :D

Dean C
04-21-2003, 12:04 PM
Sounds good colicab ;)

Erwin
04-21-2003, 02:25 PM
You could also use my HTML/ Java integrator. ;)

N9ne
04-21-2003, 02:43 PM
Isn't there already a hack called vBengine which creates files?