I'm using a simple php script called upload.php, here's the source:
But I keep getting an error message:
Fatal error: Maximum execution time of 20 seconds exceeded in
D:\dominios\E\escolas-es\spe\upload.php on line 3
Then, I've tried to increase the time limit with the "set_time_limit"
(the server isn't running on safe-mode, so I can use it, I've tested
this function and it really works):
But the error doesn't stop! When I send small files, it works, but
larges files, that takes more than 20 seconds to upload, results in
this error. It seems that the php script begins only AFTER upload,
so when the files are big, it waits until the time exceed. How can I
workaround this problem? Please help me out!
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php