Log in

View Full Version : VB Header problem


Yzer0
12-05-2002, 01:02 PM
I want to (on many non-vb pages) Print the VB header. I'm currently using this:

$header="";
$templatename.="header";
include "/usr/local/www/data/forums/admin/functions.php";
eval("dooutput(\"".gettemplate("header")."\");");


It will work when i call the script directly IE: http://some.forum.com/forums/links.php, but if I include it to another place such as http://some.forum.com/www/index.html (YES i have HTML setup in apache for PHP processing), it wont work. Any ideas? Thanks alot. (in advance ;))

Yzer0
12-05-2002, 03:35 PM
the page is plain blank, and there IS html after the <?php ?> tags in the script. I'm still not sure. Thanks in advance again :) NOTE when i view source in the browser, it doesnt show anything but the followign:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>