Reputation: 95
am working on a website and i have a big problem when i tried to upload files, i increase upload_max_filesize and post_max_size and the code still understand only as a max. 10M. for any different folder php accepts 100M. but inside the site folder ( which am working inside) it doesn't understand it. i check for local php.ini or .htaccess.
note: am running a linux server.
Upvotes: 1
Views: 501
Reputation: 95
Thanks guys, I found the problem. i don't know why is the file is not visible for me /public_html/site/.htaccess
i tried to overwrite it, and it's seems to be working.
Thanks a lot for efforts.
Upvotes: 0
Reputation: 41070
Do you run Apache with mod_security? Then check if the LimitRequestBody
is in affect.
Here is a good tutorial about Settings for uploading files with PHP.
Upvotes: 1
Reputation: 3247
Plupload can split large files into smaller chunks. See the documentation.
Upvotes: 1
Reputation: 3247
You can use JumpLoader, which is a Java applet, and it is able to split large files into partitions, and upload them one by one. Then a PHP script rebuilds the original file from the uploaded partitions on the server.
Upvotes: 1
Reputation: 7983
For uploading bigger files I would suggest a dedicated uploader plug-in.
Like a SWF of Java. For these reasons:
On server-side you will need either a Socket listener, or an HTTP tunnel if unavailable.
Upvotes: 1