Re: cvs: docweb /scripts grab_livedocs_db.php

From: Date: Tue, 25 Jan 2005 18:56:46 +0000
Subject: Re: cvs: docweb /scripts grab_livedocs_db.php
References: 1 2  Groups: php.doc.web 
Request: Send a blank email to doc-web+get-563@lists.php.net to get a copy of this message
Nuno Lopes wrote:
nlopess Tue Jan 25 13:33:21 2005 EDT
  Modified files:                  /docweb/scripts grab_livedocs_db.php   Log:
life is simpler... :)
...
+copy(REMOTE_ENTITY_SQLITE_FILE, ENTITY_SQLITE_FILE);
Was trying to read small chunks to keep memory reqs down to near-zero. But I guess it doesn't really matter for a <5MB file.
$bytesSec = number_format(round($bytesRead / $scriptTime));
This line should probably be removed now, with your changes.
Sorry, I didn't notice that you were using this. Do you want me to revert? Nuno

« previous php.doc.web (#563) next »