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" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> 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" <[EMAIL PROTECTED]> wrote in message
>> > news:[EMAIL PROTECTED]
>> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

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

Reply via email to