Re: Trouble with do..while

From: Date: Mon, 06 Dec 2004 15:32:49 +0000
Subject: Re: Trouble with do..while
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-203597@lists.php.net to get a copy of this message
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 ?

« previous php.general (#203597) next »