[eluser]Matt Bausch[/eluser]
It's not simply a header file. I have many functions in my include file. Among them are security verification and other helpful functions. One of these functions dynamically creates everything up to the first <body> tag. So a typical page looks like this:
Code:
<?
include_once($_SERVER["DOCUMENT_ROOT"] . "/include/include.php");
page_start("Login");
?>
html content goes here
This doesn't work from codeigniter because the global variables set at the beginning of include.php are no longer global, whether I load them from the controller or from the view. Maybe a better question would be...where in codeigniter do I set global variables and ensure that the session is always initialized?