Buon giorno, vorrei sapere per favore come posso ovviare a questo errore..
Quest'errore mi viene restituito in quanto, il contenuto del file che và a leggere, è vuoto.codice:Warning: fread() [function.fread]: Length parameter must be greater than 0 in
Ho visto sulla guida quest'esempio ma niente da fare non mi funziona...
Potete aiutarmi per favore?codice:$handle = fopen("http://www.example.com/", "rb"); $contents = ""; do { $data = fread($handle, 8192); if (strlen($data) == 0) { break; } $contents .= $data; } while (true); fclose($handle);
Grazie mille....