Good Point above, but I would also try
PHP Code:
<?php
$group = $_GET['group'];
$page = $_GET['content'];
$ext = "php";
$content = $page.'.'.$ext;
if (!$page)
{
$content = "home.php";
}
?>
if (file_exists("$head")) // Does the var $head exist?
That last error is say that the var $head is not set yet and has no path.
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
|