Re: Large Arrays in a batch procedure

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

 



Probably your scripts time out after 30 seconds.
Try :
set_time_limit(0);
in your script!

JOchem

Antonio Bernabei wrote:
Hi,
I have a problem. On a small lan I need to process a table with about 30000
records. The work is to apply a formula to some fields of each record and
update another field of the same table.
I run php on a win2000 professional system and the first approach was to
make a for cycle in which I apply the formula to all records and echo the
result of the formula, just to show that the work is going on.
But I get into a timeout of the system after 30 seconds
Which is the right approach to this type of work, let's call it batch work?
Thank you
Antonio Bernabei

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux