Macchè ...... ! Le ho provate tutte, ovviamente nel limite delle mie possibilità, sembra come se il codice non venisse letto

Se può essere di aiuto stò usando EasyPHP.



menu.php
codice:
<table width="300" border="1">   
<tr>     
<td bgcolor="#FFFF00">Titolo 1</td>   
</tr> 
</table> 

<table width="300" border="1">   
<tr>     
<td bgcolor="#66FF33">Titolo 2</td>   
</tr> 
</table>  

<?php  
$titolo_1 = basename($_SERVER['PHP_SELF']); 
$titolo_2 = array('progetti.php');  

if ($titolo_1 == $titolo_2) {   
echo "<table width=\"100%\" border=\"1\">
        <tr>
        <td bgcolor=\"#990000\">Sottotitolo 2</td>
       </tr>
       </table>";          
                        }  
?>  


<table width="300" border="1">   
<tr>     
<td bgcolor="#FF99CC">Titolo 3</td>   
</tr> 
</table>

home.php
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>titolo 1</title> 
</head>  

<body> 

<?php include $_SERVER['DOCUMENT_ROOT']."/prova/menu.php"; ?></td>     


</body> 
</html>


progetti.php
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>titolo 2</title> 
</head>  

<body> 

<?php include $_SERVER['DOCUMENT_ROOT']."/prova/menu.php"; ?></td>     


</body> 
</html>