Re: Long script strange behaviour





On Oct 30, 8:13 pm, "Aggelos" <djje...@xxxxxxxxx> 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

.



Relevant Pages

  • Re: Can I set the default printer via a batch file?
    ... create a batch file that imports the reg file and add it to ... > the STARTUP folder..... ... You only have to export/import the key ...
    (microsoft.public.win2000.advanced_server)
  • Long script strange behaviour
    ... I am trying to export/import about 50.000 records in a csv file which a ... user can upload or downlaod from the browser. ... Firefox download window / IE page ...
    (comp.lang.php)