You are here: Re: Long script strange behaviour « PHP Programming Language « IT news, forums, messages
Re: Long script strange behaviour

Posted by AlexVN on 10/30/06 18:46

On Oct 30, 8:13 pm, "Aggelos" <djje...@gmail.com> wrote:
> Hello,
> I am trying to export/import about 50.000 records in a csv file which a
> user can upload or downlaod from the browser.
> The problem is once I hit export Firefox comes with a dowload
> myscript.php window and IE just page cannot be found.
> It doesn't happen with less records.
> I tryied to google the problem but it doesn't seem to get me anywhere.
> Also I have memory problem because I create huge associative arrays
> that keep all those data temporary.
> I suppose that PHP is not the right language to do this kind of data
> manipulation or that I am missing something. I've seen though other
> sites doing that kind of imports and exports.
>
> Has anyone ever met that before? Firefox download window / IE page
> cannot be found when you run a script ?
>
> Thanks.. .I'll appreciate any suggestions.

You can use something like "LOAD DATA INFILE" statement (in case if you
use the MySQL database) that is a fastest way of importing such big
amounts of data. Although, I think this issue is not related to
database usage... You may try to trace the HTTP requests between client
and server and check what happens.

Sincerely,
Alexander
http://www.alexatnet.com/ - PHP/Zend Framework and Ajax blog

 

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

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