Ok I got rid of the errors but now it just makes a blank page...
This is the php:
PHP Code:
<?php
error_reporting(7);
require("./global.php");
eval("\$header = \"".gettemplate('header')."\";");
eval("\$footer = \"".gettemplate('footer')."\";");
eval("\$headinclude = \"".gettemplate('headinclude')."\";");
$title="TEST";
eval("\$page = \"".gettemplate('test')."\";");
eval("dooutput(\"".gettemplate('engine')."\");");
?>
and this is the html it generates:
<!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>