Re: set_time_limit -VS- database queries

Поиск
Список
Период
Сортировка
От Chris
Тема Re: set_time_limit -VS- database queries
Дата
Msg-id 5.1.0.14.0.20020410093150.02622a70@cooee.cybersydney.com.au
обсуждение исходный текст
Ответ на set_time_limit -VS- database queries  ("Areski Belaid" <areski5@hotmail.com>)
Список pgsql-php
Hi,

>I do a lot of database queries with php...
>to import a lot of field in the database...
>
>In the first time, i put the set_time_limit(0)
>But the execution of the script such as system calls using system(),
>the sleep() function, database queries, etc. is not included when
>determining the maximum time that the script has been running.
>
>So, of course, Ii can't put my script on background...

What do you mean put it in the background ?

>but I want known how many field has been inserted (hai)...

It depends on how you're inserting (or updating) them.

If you're using some sort of loop to do it, you can add another variable in
to automatically increment when you do an update or insert.


-----------------
      Chris Smith
http://www.squiz.net/


В списке pgsql-php по дате отправления:

Предыдущее
От: "Areski Belaid"
Дата:
Сообщение: set_time_limit -VS- database queries
Следующее
От: "Andy Samuel"
Дата:
Сообщение: Re: Content management in PHP + PostgreSQL