Re: Can't upload file greater than 11kb

From: Date: Mon, 29 Dec 2003 15:53:02 +0000
Subject: Re: Can't upload file greater than 11kb
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-173428@lists.php.net to get a copy of this message
Hi, Both Marek and Asegu have raised a very valid point about upload_max_filesize < post_max_size hower Chris seems to have set this in megabytes but the limit kicks in to place at 11 KILO bytes. That's why i am convinced it's either an apache setting or a proxy getting in the way. Chris, in an earlier message you have said using .htaccess is not part of the requirement!? can you explain what you mean by that? To answer your other question on timing the max execution time is not considered important for handling file uploads but max input time is very important. Asegu wrote:
your file is sent through post. If your post upload max size is smaller then your upload max size, then the file wouldn't all fit within the post data that PHP will accept. Your upload would then get blocked. Therefore, post_max_size should be set to a larger value then upload_max_filesize to allow the upload to work in the first place. Andrew.
Since this install of PHP is a CGI module, the server limits any execution to 30 seconds. Why should upload_max_filesize be greater than post_max_size? Why would this have any effect on a file size of 11kb? "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message news:3FF012CF.6050701@webglobe.sk...
post_max_size should be greater than upload_max_filesize. What is the setting for max_input_time? Chris wrote:
     
post_max_size: 8M upload_max_filesize: 10M what quota and disk space affect the web server process and temp dir This site is hosted by a third party: Disk space is 400MB only a fraction is used. temp dir -- unknown Chris -- ...and then Chris said... % % script on many php servers. However I am on one now which is not
       
allowing
me % to upload a file greater than 12kb. What does phpinfo() say for post_max_size upload_max_filesize and what quota and disk space affect the web server process and temp
       
dir?
HTH & HAND "David T-G" <davidtg-php@justpickone.org> wrote in message news:20031223202218.GN4027@justpickone.org...
       
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.

« previous php.general (#173428) next »