prova:
Codice PHP:
<?php 
if(ereg("(index|viewforum|viewtopic|search|userlist)\.php"$_SERVER['PHP_SELF'])) {
include(
"chat/htmlcode.dat");
}
?>