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: [EMAIL PROTECTED] 

-----Original Message-----
From: William [mailto:[EMAIL PROTECTED]] 
Sent: 19 September 2002 18:33
To: [EMAIL PROTECTED]
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
________________________________________________________________________


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

Reply via email to