$dati = $_SERVER['REMOTE_ADDR'];
ti manca il nome del file