You are here: Re: my Script Dies during fgetcsv « All PHP « IT news, forums, messages
Re: my Script Dies during fgetcsv

Posted by MS on 02/28/06 22:20

> the example in the manual uses 1000 rather than 2000. I have seen
> truncation problems in various posts when a file buffer gets too large,
but
> usually that's when the buffer was >=8K. odd. try 1000 and see if it does
> anything for you. just how much memory does your data take up (what's
your
> filesize)?

I have used 1000 before with the same results.. it was changed to 2000
recently to see if it made a difference.

one of the larger files sizes is 5,530kb

If it is a buffer problem is there a way to clear the buffer before it
starts reading the next file?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация