...ti metto il codice delle pagine:


- Pagina A:

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>Documento senza titolo</title>
</head>


<body>


<?php


if (count($_POST))
{
     $fileName = md5(rand(unique) . $_SERVER["REMOTE_ADDR"] . time());
     $fp = fopen("./nomecartella/{$fileName}.txt", "wb");
     fwrite($fp, $_POST["dati"]);
     fclose($fp);


     /**
       * Javascript
       */
      echo <<<TPL
      <script type="text/javascript">
      window.open("http://nomesito/b.php?id={$fileName}", "", "top=10, left=10, width=250, height=200, status=no, menubar=no, toolbar=no scrollbars=no");
      </script>
TPL;
}
else
{
    echo <<<TPL
<form method="post">
<textarea name="dati"></textarea>
<input type="submit" id="submit" value="Invia Modulo" />
</form>
TPL;
}


?> 


</body>
</html>

- Pagina B:

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>Documento senza titolo</title>
</head>


<body>


<?php
if (isset($_GET["id"]) && file_exists("./nomecartella/{$_GET['id']}.php"))
{
      echo file_get_contents("./nomecartella/{$_GET['id']}.php");
}
else
{
      echo "Id non valido";
}
?>


</body>
</html>

- Codice Calameo inserito:

codice:
<div style="text-align:center;"><div style="margin:8px 0px 4px;"><a href="http://www.calameo.com/books/000593208aca0d4f102db" target="_blank">Come usare Calaméo</a></div><iframe src="//v.calameo.com/?bkcode=000593208aca0d4f102db" width="300" height="194" frameborder="0" scrolling="no" allowtransparency allowfullscreen style="margin:0 auto;"></iframe><div style="margin:4px 0px 8px;"><a href="http://www.calameo.com/">Publish at Calameo</a> or <a href="http://www.calameo.com/browse">read more publications</a>.</div></div>