[PHP-WIN] Re: [PHP] Run a script for 20minutes

2001-02-12 Thread Ankur Verma
you can set the maximum execution timeu using either the max_execution_time = 30 ; Maximum execution time of each script, in seconds setting in php.ini or can set it at runtime for a script using the set_time_limit() function check the php manual for more details. hope that helps Ankur

[PHP-WIN] Re: [PHP] Run a script for 20minutes

2001-02-12 Thread Andy Woolley
Something doesn't seem right here. I've executed scripts that have taken 4 hours to complete in the past and the only thing I had to set was: set_time_limit(0); Are you echoing anything to the screen, if not maybe you should after every loop increment, you may also need to use the flush() comma

[PHP-WIN] RE: [PHP] Run a script for 20minutes

2001-02-12 Thread Martin E. Koss
I'm using a mySQL database but to be honest I think the only thing that was timing out was the browser, since hacking the registry to eliminate that timeout the only thing I can do is wonder why it only finishes half what it is supposed to do. I'll try it on a faster machine later - it's on a AMD

[PHP-WIN] RE: [PHP] Run a script for 20minutes

2001-02-12 Thread Dominick Vansevenant
I think there are timeouts on php as well: This is taken from the php.ini file. max_execution_time = 30 ; Maximum execution time of each script, in seconds I hope this helps you, you can find php.ini in your windows directory. If you are using a database, also check that for timeouts. D.