Re: File Upload problem
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Sat, 24 May 2008 19:53:38 +0200
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
.
- References:
- File Upload problem
- From: Mike
- File Upload problem
- Prev by Date: File Upload problem
- Next by Date: SQL Buddy - decent replacement for phpMyAdmin
- Previous by thread: File Upload problem
- Next by thread: SQL Buddy - decent replacement for phpMyAdmin
- Index(es):
Relevant Pages
|