[snip] I run the script through a browser. The overall script takes about 36 minutes to run. I have changed the php.ini values to allow the script to run for longer than this. The script runs, but I always end up with a 500 error. [/snip]
Have you also set your webserver software time accordingly? Apache, IIS, and others come with a default time for a response. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

