Salve,
come posso implementare a questo script un controllo su il file text.txt se è vuoto?
grazie per l'aiutocodice:$CurrentSong='test.txt'; ... SE è VUOTO FERMARSI ALTRIMENTI PROSEGUIRE CON QUESTO SCRIPT ... if (file_exists($CurrentSong)){ $txt=fopen($CurrentSong, 'r'); $tema=fread($txt, filesize($CurrentSong)); fclose($txt); ...
G.

Rispondi quotando