Re: php: file upload program limitation..

From: Date: Thu, 30 Oct 2003 10:02:30 +0000
Subject: Re: php: file upload program limitation..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168136@lists.php.net to get a copy of this message
max_execution_time does not affect file uploads. Php script and thus also the timer starts after the upload is finished. max_input_time might influence it as it is the time allowed for the browser to post the data. Justin French wrote:
See these three directives in php.ini: max_execution_time = 30 max_input_time = 60 memory_limit = 8M and this one you've already played with: post_max_size = 8M Obviously, for you to upload a 5 meg file over to a server is going to take more than 30 seconds, and may *possibly* consume more than 8M of memory (not sure there), so these settings need to be carefully modified to suit your needs. Justin French


« previous php.general (#168136) next »