Re: [PHP] Can't upload file greater than 11kb

2003-12-29 Thread Marek Kilimajer
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

Re: [PHP] Can't upload file greater than 11kb

2003-12-29 Thread Chris
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

Re: [PHP] Can't upload file greater than 11kb

2003-12-29 Thread Asegu
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

Re: [PHP] Can't upload file greater than 11kb

2003-12-29 Thread Raditha Dissanayake
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

Re: [PHP] Can't upload file greater than 11kb

2003-12-29 Thread Chris
The application is going to being supplied to a number of customers who may not know how to or don't have the ability to create/modify a .htaccess file. I tend to agree with Raditha about this being an Apache issue. Upon complaint to the hosting provider about this issue the did something that

Re: [PHP] Can't upload file greater than 11kb

2003-12-29 Thread David T-G
Chris, et al -- ...and then Chris said... % % complaint to the hosting provider about this issue the did something that % increased the upload file size to several hundred kilobytes. They claimed it % has something to do with the temp dir where the file is being uploaded to. Hah! I called it

Re: [PHP] Can't upload file greater than 11kb

2003-12-28 Thread raditha dissanayake
Hi, if you are lucky LimitRequestBody could go into a .htaccess file (not sure though been a couple of months since i last read the manual) Chris wrote: It has been my experience that max_file_size does terminate the upload process if you include it in the form. But you are right, if it gets

Re: [PHP] Can't upload file greater than 11kb

2003-12-28 Thread Chris
Unfortunately, creating/editing .htaccess is not an operational requirement. Thanks anyway. Chris Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, if you are lucky LimitRequestBody could go into a .htaccess file (not sure though been a couple of months since

RE: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Larry Brown
The input type=hidden ... is more than a convenience for the client. It must be before the ...type=file... tag and after form.. (at least with Mozilla Firebird as the client) If you have it in there and remember it is in bytes not kb and set it to a size large enough the script accepting the file

Re: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Chris
I don't believe that the MAX_FILE_SIZE needs to be there. It will only terminate the upload process at the client, rather than wait for the upload to complete. Anyway with or without MAX_FILE_SIZE the upload process is being terminated after the file is uploaded. When the form is submitted, the

Re: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Raditha Dissanayake
Hi, It's often said in many newsgroups and articles that the max_file_size is next to useless. It's also said that once IE starts uploading it will not stop even if you keep you foot on the stop button! If i remembers the earlier messages you have said the php.ini settings are correct. If so

Re: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread David T-G
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?

Re: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Chris
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

Re: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Chris
It has been my experience that max_file_size does terminate the upload process if you include it in the form. But you are right, if it gets to the upload, your stuck. LimitRequestBody is beyond my control as the site is hosted by a third party. Thanks Chris Raditha Dissanayake [EMAIL