En lugar de eso podrias hacer algo asi:
Código PHP:
<?php
$default = "main.php";
$sec = $_REQUEST['sec'];
switch( $sec ) {
case "home":
$file = "main.php";
break;
case "contacto":
$file = "contacto.php";
break;
}
?>
contenido
<?php
include( $file );
?>