togli le righe da fopen e cambiale con:
Codice PHP:$fn = "libri.html";
$str = '[b]__________[/b]
... ... ...
[i]'.$ip.'[/i]
');
$old = file_get_contents($fn);
file_put_contents($str."\r\n".$old);
togli le righe da fopen e cambiale con:
Codice PHP:$fn = "libri.html";
$str = '[b]__________[/b]
... ... ...
[i]'.$ip.'[/i]
');
$old = file_get_contents($fn);
file_put_contents($str."\r\n".$old);