codice:
<?php
$nomefile="blog.html";
$vecchiofile=fopen($nomefile, "r");
$contenuto_file=fread($vecchiofile, filesize($nomefile));
fclose($vecchiofile);
$data=(date("d-m-Y"));
$ora=(date("H:i:s"));
$f=fopen($nomefile, "w+ ");
fwrite($f, '<table width="600" border="0" cellspacing="5"
cellpadding="2"><tr>
');
fwrite($f, '<td width="450" bgcolor="#A20007">
<font color="#FFF45F" size="2" face="Arial, Helvetica, sans-serif">'.$_POST['titolo'].'</font></td>
');
fwrite($f, '<td width="150" bgcolor="#A20007">
<font color="#FFF45F" size="2" face="Arial, Helvetica, sans-serif">'.$data.'alle '.$ora.'</font></td>
');
fwrite($f, '</tr><tr>
');
fwrite($f, '<td colspan="2"><font size="2" face="Arial, Helvetica, sans-serif">'.$_POST['testo'].'</font></td>
');
fwrite($f, '</tr></table>
');
fwrite($f, '
');
fwrite($f, ''.$contenuto_file.'
');
fclose($f);
?>
<html>
<head>
<title>Messaggio inserito correttamente</title>
</head>
<body>
<p align="center>Messaggio inserito correttamente
Visualizza il tuo blog</p>
</html>
e poi non mi visualizza neanche i css. perche???