Mi dici perchè non funziona? Ho creato un esempio banale.

Ho un file senzanome.html:

Codice PHP:
<!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>Documento senza titolo</title
<
script> function ask_file(qualedivqualefile){ 
var 
dove=(document.getElementById?document.getElementById(qualediv):document.all[qualediv]); 
var 
request=false
try{
request=new ActiveXObject("Msxml2.XMLHTTP");
}catch(
e){ try{
request=new ActiveXObject("Microsoft.XMLHTTP");
}catch(
e){ 
request=false;};}; 
if(!
request && typeof XMLHttpRequest!='undefined')
{
request=new XMLHttpRequest();}; 
request.open("GET",qualefile,true); 
request.onreadystatechange=function(){ 
if(
request.readyState==4){ 
if(
request.status==200){ 
dove.innerHTML=request.responseText; };};};
request.send(null);}; </script> </head> 
<body> 
<div id=ilMioDiv> </div> 
<script> windowSetInterval(1000,'ask_file("ilMioDiv", "./aaa.html")'); </script> </body> </html> 
ed un file aaa.html

Codice PHP:
<!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>Documento senza titolo</title> </head
<
body

Ciao ciao!</p> </body> </html
Perchè non mi compare ciao ciao! ???