Re: File Upload problem



Mike wrote:
Hello,
I am trying to upload a file of 1.6 meg.
I have set:
php_value upload_max_filesize 16M
php_value post_max_size 18M
in an htaccess file and they show up correctly on my phpinfo file.
I have:
<input name="MAX_FILE_SIZE" type="hidden" value="20097152" /> (Which
is 20 meg) as a form field
I can upload 750k without a problem.But it gives me an error INSTANTLY
when I try a larger file.
Any suggestions? Could it be the temp directory doesnt allow bigger
files?

Of course the "size" of the temp dir will affect how large files you can upload, I do suggest you check this up how much free space you have on the /tmp.

Another possibility could be a disk quota system, this would affect other files too, in this case the user as the web server is run as, storing a 50k file in the document root directory would lower your max upload to 700k.

--

//Aho
.



Relevant Pages

  • File Upload Problem
    ... I am trying to upload a file via a web page of 1.6 meg. ... in an htaccess file and they show up correctly on my phpinfo file. ... Could it be the temp directory doesnt allow bigger ...
    (php.general)
  • File Upload problem
    ... in an htaccess file and they show up correctly on my phpinfo file. ... I can upload 750k without a problem.But it gives me an error INSTANTLY ... Could it be the temp directory doesnt allow bigger ...
    (alt.php)
  • Re: Published site displays login and PW after submit
    ... This client called after having built the website in Publisher ... | Publisher form website, you only upload the site through the software. ... | "Mike Koewler" wrote: ...
    (microsoft.public.publisher.webdesign)
  • Re: Propegating custom properties to WSS doclibs
    ... Thanks Bil! ... Mike Walsh, Helsinki, Finland ... If you choose to choose upload document from the document library ... > inside the Office document after you upload it. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Best ISP for Static IP address and high usage?
    ... Mike P wrote: ... I download/upload. ... unlimited upload and download, if your line can handle it can also opt ...
    (uk.telecom.broadband)