set_time_limit() takes effect only during actual execution of php script.

Take a look at your max_input_time and post_max_size settings. post_max_size should be higher than upload_max_filesize.

Dan Anderson wrote:
try: set_time_limit(0); // don't time out.

By default, if it takes more then 30 seconds (or is it 60?) to execute a
web page PHP kills the script.


-Dan

On Wed, 2003-09-10 at 14:15, Lou Parmelee wrote:

Hello all,

I couldn't upload any files larger than 2M. So I searched around and found
this post last night and I made the changes to the php.ini file to support
20M file uploads. The changes were successful but just like in the post
below I can't upload over a 7.5M file now. Any ideas would be much
appreciated.

Thanks,
Lou



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



Reply via email to