On 19/11/04 6:46 pm, "Pierre-Frédéric Caillaud"
<[EMAIL PROTECTED]> wrote:

> 
>> can do this fine with small files.... But if I get above a 1000 rows it
>> takes so long it time out.
> 
> PHP is slow, but not *that* slow, you have a problem somewhere !

Aha yes, I was reading the file doing this

fgets($fh, 1048576)))

... But changing it to

fgets($fh, 1024)))

Which is a large enough amount of data for my needs improved the speed
dramatically!

Thanks to all those that replied

adam


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to