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
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
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
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.