Re: very strange behavior.... incomplete query performed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tijnema wrote:
On 8/12/07, Alain Roger <raf.news@xxxxxxxxx> wrote:
Hi,

I'm still working on importing CSV file content (20.000 records) to database
PostgreSQL.

when i run the query, once i stored into my table  5218 records, another
time 5231 another time 4713 and so on....
every time the amount of records imported to DB is different.

Do you have any idea from where it could come ?

Here is my PHP code :

<snip>
thanks a lot for any help.


--
Alain

Might it be that your script times out?
try setting the time limit to unlimited:
set_time_limit(0);

Apache (or w/e your server is) might still timeout, but these values
are a lot higher.. :)

And if that is the case I would strongly recommend that you turn display_errors on and set error_reporting to E_ALL, at least for that script or if this is a development server do it in php.ini.

-Stut

--
http://stut.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux