RE: [PHP-WIN] long admin processes. script timeout.

From: Date: Thu, 19 Sep 2002 16:33:40 +0000
Subject: RE: [PHP-WIN] long admin processes. script timeout.
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15908@lists.php.net to get a copy of this message
The set_time_limit() function can be used to stop your script from timing out, without having to change your php.ini file and give all scripts a huge time limit. http://www.php.net/manual/en/function.set-time-limit.php As for performance of other users... Probably depends on what is making the script take so long. Without knowing what it does, or seeing the code, it's kinda hard to say what you can do to optimize it... HTH, Richy ========================================== Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: rblack@datavisibility.co.uk -----Original Message----- From: William [mailto:william@paycomonline.com] Sent: 19 September 2002 18:33 To: php-windows@lists.php.net Subject: [PHP-WIN] long admin processes. script timeout. I have an application that needs to perform some large processes, moving data as well as generating some rather large output files. This process might take about 15 to 20 minutes to complete and "MUST" be completed. It is only run by 1 administrator every and not a general user. 1)Is there anything I should do to adjust this script to optimize/ensure it doesn't time out before finished? 2)Will a long process like this keep the general users from using the system? Thanks, william -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________

« previous php.windows (#15908) next »