In most of the websites file upload feature is a comman in now a days. For some advanced websites like video and audio sites you need to upload large files.
By default PHP have very few MB of upload limit. But not a proble at all. You can increase upload file size limit in two ways.
If you have an access to your php.ini file then you just need to place the below code in your php.ini file or replace the existing parameters with below one:
Now if you don’t have an access to your php.ini then you can change these parameters from .htaccess file as well. copy below code in your .htaccess file and you are ready to go.
Note: Second trick may not work if you are on shared hosting.
Avinash Zala is leading various projects which deals with the various technology involved with the web. A combination of perfect technical and management skills. Avinash would like to chat with you and convert your imagination into the working system. You can get in touch with him on Facebook and Twitter.
View all posts by: Avinash