I am consistently receiving the 'Maximum Execution time exceeded' error message when uploading files to a couple different servers that I have. I have taken numerous steps to correct the error including the following:
Used set_time_limit(500) as the first line of the script that I am uploading to.
Used ini_set('max_execution_time', 500) as the first line of that script
adjusted php.ini to make the max_execution_time 60 instead of 30.
[/list=1]
In the php.net documentation it says that execution time of the script should not be determined by the time it takes to upload a file... that it only is determined by the actual execution time of the script. But this does not seem to be the case. If the file takes over 30 seconds to upload, I get the error. Does anyone have any guidance for me here?
I am on IIS 5.0 with php build 4.3.1
register_globals is on
safe_mode is off
Thanks in advance.