salve devo aprire e leggere un file txt ecco il code:
mi da questo errore:Codice PHP:
$file="specialoffer.txt";
$openfile=fopen($file,"r");
$read=fread($openfile, filesize($file));
fclose($openfile);
Warning: fread() [function.fread]: Length parameter must be greater than 0
eppure il file esiste.
Ma è vuoto cioè non ha nulla all'interno sarà questo il problema????