You may have already done this, but make sure that you have made any necessary changes to your PHP.ini settings with relation to maximum file upload size and so on. More information here: http://de.php.net/features.file-upload Cheers Mark ""Paul J. Smith"" <pjsmith@xxxxxxxxx> wrote in message news:C2DA8EC72BEE0740BC5C7F5E04D4EB51605112@xxxxxxxxxxxxxxxxx IIS also has a script execution time limit. Even if you set it in PHP, IIS will abort the script if it's own limit is exceeded. So if you are still having issues after using set_time_limit, check IIS's script timeout. Regards, Paul Smith -----Original Message----- From: Ricardo Oliveira [mailto:rjoliveira@xxxxxxx] Sent: 31 October 2005 09:38 To: php-windows@xxxxxxxxxxxxx Subject: Problem with script execution time Dear, I am trying to make a download script, for this I need to define max execution time to 0 so the script only ends when the file is uploaded/downloaded. I have php5 and apache 2 on Windows XP-sp2 and I am not being able to do it, every thing I tried didn't work. Can anyone give me some tricks to do it the right way? Best regards, Ricardo Oliveira -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php