Re: Trouble with do..while

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux