Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When uploading a video error: "POST Content-Length of 59768968 bytes exceeds the limit of 8388608 bytes in Unknown on line 0" will come plz resolve this error.......
Posted
Comments
Mohibur Rashid 17-May-13 2:47am    
either increase the file uploading size in php.ini or implement a mechanisme where you can upload multi-part file and then process them together in server
rupal from india 17-May-13 3:15am    
m using xamp and there is no php-ini file.can u explain how process all the multipart file together in server via example?

1 solution

This has nothing to do with MySQL. The error message is quite clear: there is a 8MiB request length limit, and you want to upload 55MiB of data. Check here: http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/[^]. Ne aware to set php memory limit too to a properly high value. Please note, that such limits can be set on web server level also, thus you have to check them also: apache[^], IIS[^].
 
Share this answer
 
v2
Comments
rupal from india 17-May-13 3:11am    
thnxs bt m using xamp and there is no php-ini file and don't understand where to set .htaccess file and where to add all these in my code.can u give me some example how to set all these values and where.Till now i didnot use such type of setting...
Zoltán Zörgő 17-May-13 3:20am    
XAMPP is a bundle of MySQL PHP and Apache. And oh yes, there is a php.ini file - but it can ahve an other name. Use the phpinfo method to find the proper one: http://www.ostraining.com/blog/coding/phpini-file/
And you can put a .htaccess in any folder, in your case that will be the folder where your index.php resides. See: http://httpd.apache.org/docs/current/howto/htaccess.html
As I see, you have lot to learn.
rupal from india 17-May-13 6:07am    
thnku so much i resolve the problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900