Salvatore a écrit :

If I understand correctly, have you tried this instead of the above code :
while( !feof($f) )
{
$stream = fread($f, 8192);
$data .= $stream;
}
fclose($f);



i found it.

max_execution_time = 30

is too few for more than 3000 files:)


Ooops... Sorry for leaving PHP thread, I didn't take care of "answer at" field.
I'm beginner so thanks for posting the answer. Is the execution time measured in ms ?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to