I got my templates to be parsed, but now everytime PHP has to parse my templates (PHPlib templates) PHP crashes. I'm running PHP4 in CGI mode on Windows. My code is below:
<?PHP
include "template.inc";
//create template object
$tpl = new Template();
//create a file handle for the search template file
$tpl->set_file("Tpl_SearchHandle", "search.ihtml");
//now assign the template variables values
$tpl->set_var("SEARCH_RESULTS_TITLE", "Search results for " . $search_text);
$tpl->set_var("SEARCH_CSS", require("style_sheet.css"));
$tpl->set_var("HEADER", require("header.inc"));
$tpl->set_var("RIGHT_NAVBAR", require("navbar.inc"));
$tpl->parse("SearchResult", "Tpl_SearchHandle");
$tpl->p("SearchResult")
?>