Nel mio sito (www.fdiodato.tk) ho un guestbook. Se si accede, nella pagina del guestbook, sotto la scritta "guestbook", c`e` scritto "home". Se si preme, compaiono due frame con il menu! Non so come risolvere il problema.
Vi copio parte dello script del mio guestbook:
Codice PHP:
<? 
//--Change the following variables

//Title of your guestbook
  
$title "Guestbook";
//Change "admin" with your own password. It's required when you delete an entry
  
$admin_password "xxxxxxx";
//Enter your email here
  
$admin_email "info@fdiodato.tk";
//Your website URL
  
$home "http://fdiodato.altervista.org/ita/indice.htm";
//Send you an email when someone add your guestbook, YES or NO
  
$notify "YES";
//Your Operating System
//For Windows/NT user : WIN
//For Linux/Unix user : UNIX
  
$os "WIN";
//Maximum entry per page when you view your guestbook
  
$max_entry_per_page "10";
//Name of file used to store your entry, change it if necessary
  
$data_file "gbook.dat";
//Maximum entry stored in data file
  
$max_record_in_data_file "300";
//Color & font setting
  
$background "white";
  
$table_top "#1679AA";
  
$table_content_1a "#1679AA";
  
$table_content_1b "#1679AA";
  
$table_content_2a "#1679AA";
  
$table_content_2b "#1679AA";
  
$table_bottom "#1679AA";
  
$table_border "white";
  
$title_color "#1679AA";
  
$link "green";
  
$visited_link "green";
  
$active_link "red";
  
$font_face "verdana";
  
$message_font_face "verdana";
  
$message_font_size "2";

//-- Don't change bellow this line unless you know what you're doing

$do = isset($_REQUEST['do']) ? trim($_REQUEST['do']) : "";
$id = isset($_GET['id']) ? trim($_GET['id']) : "";
$page = isset($_GET['page']) ? $_GET['page'] : 1;
$PHP_SELF = isset($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : $HTTP_SERVER_VARS['PHP_SELF'];

if (!
file_exists($data_file)) {
    echo 
"[b]Error !![/b] Can't find data file : $data_file.
"
;
    exit;
} else {
  if (
$max_record_in_data_file <> "0") {
     
$f file($data_file);
     
rsort($f);
     
$j count($f);
     if (
$j $max_record_in_data_file) {
        
$rf fopen($data_file,"w");
            if (
strtoupper($os)=="UNIX") {                     
               if (
flock($rf,LOCK_EX)) {
                  for (
$i=0$i<$max_record_in_data_file$i++) {
                      
fwrite($rf,$f[$i]);         
                  }
                  
flock($rf,LOCK_UN);
               }
            } else {
               for (
$i=0$i<$max_record_in_data_file$i++) {
                  
fwrite($rf,$f[$i]);         
               }
            }
        
fclose($rf);
     }
  }
}

switch (
$do) {
case 
"":
   
$record file($data_file);
   
rsort($record);
   
$jmlrec count($record);
?>
   <html>
   <head><title>[url]www.fdiodato.tk[/url]</title></head>
   <body bgcolor="<?=$background?>" link="<?=$link?>" vlink="<?=$visited_link?>" alink="<?=$active_link?>" topmargin="0" marginheight="0" style="font-family:<?=$font_face?>">
   <center>
   <font size="6" color="<?=$title_color?>">[b]<?=$title?>[/b]</font>

   <font size="2" color="<?=$title_color?>">(:: [b]<a href="<?=$home?>"><font color="<?=$title_color?>">
    Home</font></a>[/b] ::)</font>


   <table width="600" cellpadding="0" cellspacing="1" border="0">
   <tr bgcolor="<?=$table_border?>">
   <td>
      <table width="100%" cellpadding="4" cellspacing="1" border="0">
      <tr>
        <td bgcolor="<?=$table_top?>" colspan="2" width="585">
           <font size="2" color="#ffffff">[b]Premi
            [url="<?="]">qui[/urlper                         firmare il guestbook</font>[/b]
        </
td>
        <
td bgcolor="<?=$table_top?>" align="center" width="15">
           [
email="<?=$admin_email?>"][img]webmaster.gif[/img][/email]
        </
td>
      </
tr>
<?
      
$jml_page intval($jmlrec/$max_entry_per_page);
      
$sisa $jmlrec%$max_entry_per_page;
      if (
$sisa 0$jml_page++;
      
$no $page*$max_entry_per_page-$max_entry_per_page;
      if (
$jmlrec == 0) echo "<tr><td colspan=\"3\" bgcolor=\"white\" align=\"center\"><font size=\"3\">Non ci sono ancora commenti.</font></td></tr>";

        
$w 0//--Color
        
for ($i=0$i<$max_entry_per_page$i++) {
            
$no++;
            
$recno $no-1;
            if (isset(
$record[$recno])) {
               
$row explode("|~|",$record[$recno]);
               if (
$w==0) { 
                   
$warna $table_content_1a;
                   
$warna2 $table_content_1b;
                   
$w=1;
               } else { 
                   
$warna $table_content_2a;
                   
$warna2 $table_content_2b;
                   
$w=0;
               }
               echo 
"<tr>
                       <td bgcolor=\"
$warna2\" align=\"center\" valign=\"top\" width=\"15\">
                         <font size=\"2\">
$no</font>
                       </td>
                       <td bgcolor=\"
$warna\" width=\"570\">
                       <table border=\"0\" width=\"100%\">
                       <tr>
                        <td>
                         <font size=\"1\">
$row[2]</font>

                         <font size=\"2\">[b]
$row[3][/b]</font>
                        </td>
                    "
;
               echo 
"<td align=right valign=top>
                        <a href=\"mailto:
$row[4]\"><img src=\"email.gif\" border=0 alt=\"$row[3]'s email\"></a>";
                        if (
trim($row[6]) <> "" && trim($row[6]) <> "http://") {
                           if (
ereg("^[url]http://[/url]"trim($row[6]))) echo " <a href=\"$row[6]\" TARGET=\"_blank\"><img src=\"homepage.gif\" border=\"0\" alt=\"$row[3]'s homepage\"></a>";
                           else echo 
" <a href=\"http://$row[6]\" TARGET=\"_blank\"><img src=\"homepage.gif\" border=\"0\" alt=\"$row[3]'s homepage\"></a>";
                        }
               echo 
"</td></tr></table>";
               echo 
"
<table border=\"0\" width=\"100%\">
                     <tr><td width=\"5\"></td><td>
                     <font size=\"2\" face=\"
$message_font_face\" size=\"$message_font_size\">$row[5]</font>
                     </td></tr>
                     </table>
                    "
;
               echo 
"</td>";
               echo 
"<td valign=\"top\" bgcolor=\"$warna2\" align=\"center\" width=\"15\">
                     <a href=\"
$PHP_SELF?do=del&id=$row[1]&page=$page\">
                     <img src=\"del.gif\" alt=\"Delete entry # 
$no\" border=0 align=\"center\"></a>
                     </td>
                     </tr>"
;
            } 
//--end if        
        
//--end for
      
echo "<tr><td colspan=\"3\" bgcolor=\"$table_bottom\" align=\"center\" width=\"600\"><font size=\"1\">";            
      if (
$jml_page 1) {       
       if (
$page <> 1) echo "[<a href=\"$PHP_SELF?page=1\">Top</a>] "; else echo "[Top] "
       echo 
"Page # ";
       if (
$jml_page 10) {
          if (
$page 5) {
            
$start 1;
            
$stop 10;
         } elseif (
$jml_page $page 5) {
            
$start $jml_page 9;
            
$stop $jml_page;
         } else {
            
$start $page-4;
            
$stop $page+5;
         }
         if (
$start <> 1) echo "... ";
         for (
$p=$start$p<=$stop$p++) {
             if (
$p == $page) echo "<font color=\"$active_link\">[b]$p[/b]</font>";
             else echo 
"<a href=\"$PHP_SELF?page=$p\">$p</a>";
         }
         if (
$stop <> $jml_page) echo "... ";                  
         echo 
"of $jml_page ";
       } else {
         for (
$p=1$p<=$jml_page$p++) {
             if (
$p == $page) echo "<font color=\"$active_link\">[b]$p[/b]</font>";
             else echo 
"<a href=\"$PHP_SELF?page=$p\">$p</a>";
         }
       }       
       if (
$page <> $jml_page) echo "[<a href=\"$PHP_SELF?page=$jml_page\">Bottom</a>]"; else echo "[bottom]"
      } else echo 
"Pagina #1 di 1";        
      echo 
"</font></td></tr>";
?>
        </table>        
        </td>
        </tr>
        </table>



   
   <font color="<?=$title_color?>" size="1"><a href="http://www.promosi-web.com/script/guestbook" target="_blank"><font color="<?=$title_color?>">
    PHP Guestbook</font></a></font>
   

   </center>
   </body>
   </html>
<?
break;
case 
"add_form":
?>

<html>
<head>
<title>[url]www.fdiodato.tk[/url]</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="<?=$background?>" style="font-family:<?=$font_face?>">
<div align="center"> 
  <font size="5" color="<?=$title_color?>">[b]<?=$title?>[/b]</font>

  <font size="1">[b][url="<?=$home?>"]<font color="<?=$title_color?>">Home</font>[/url] 
    :: [url="<?=$PHP_SELF?>"]Leggi il guestbook[/url][/b]</font>
  <form method="post" action="<?=$PHP_SELF?>">
  <input type="hidden" name="do" value="add">
    <table width="460" border="0" cellspacing="0" cellpadding="0" bgcolor="<?=$table_border?>">
      <tr>
      <td>
        <div align="center">
            <table width="100%" border="0" cellspacing="1" cellpadding="5">
              <tr bgcolor="<?=$table_content_1a?>"> 
                <td width="28%"> 
                  <div align="right"><font size="2">*Nome : </font></div>
                </td>
                <td width="72%"> 
                  <input type="text" name="vname" size="30" maxlength="70">
                </td>
              </tr>
              <tr bgcolor="<?=$table_content_1a?>"> 
                <td width="28%"> 
                  <div align="right"><font size="2">*Email : </font></div>
                </td>
                <td width="72%"> 
                  <input type="text" name="vemail" size="30" maxlength="100">
                </td>
              </tr>
              <tr bgcolor="<?=$table_content_1a?>"> 
                <td width="28%"> 
                  <div align="right"><font size="2">URL : </font></div>
                </td>
                <td width="72%"> 
                  <input type="text" name="vurl" size="30" maxlength="150" value="http://">
                </td>
              </tr>
              <tr bgcolor="<?=$table_content_1a?>"> 
                <td valign="top" width="28%"> 
                  <div align="right"><font size="2">*Commento : </font></div>
                </td>
                <td width="72%"> 
                  <textarea name="vcomment" cols="40" rows="7" wrap="virtual"></textarea>
<font size="1">
                    * Campi obbligatori</font></td>
              </tr>
              <tr bgcolor="<?=$table_content_1b?>"> 
                <td colspan="2"> 
                  <div align="center">
                    <font size="2">
                    <input type="submit" value="Invia">
                    <input type="reset" value="Cancella">
                    <input type="button" value="Indietro" onclick="window.location='<?="$PHP_SELF?page=$page"?>'"></font></div>
                </td>
              </tr>
            </table>
        </div>
      </td>
    </tr>
  </table>
  </form>
</div>
</body>
</html>
Grazie!
Francesco