smita Posted September 17, 2008 Share Posted September 17, 2008 Hi Friends, I am new to the PHP, can anybody please tell me what I have to do to allow an user to upload files more than 10MB. I tried changing in the php.ini file following.. upload_maxfile_size=15M post_max_size=15M memory_limit=15M But it didn't work. I also want to know what is .htaccess file, where is it present. I am using Apache 2.2.9 & PHP 5.2.6. Thanks, Smita Link to comment https://forums.phpfreaks.com/topic/124598-how-to-allow-an-user-to-upload-files-more-than-10mb/ Share on other sites More sharing options...
ranjuvs Posted September 17, 2008 Share Posted September 17, 2008 It should have worked if you set those params. Check whether in the code you have specified the value of upload_maxfile_size below 10M. .htaccess file: the main use comes where our site is hosted in a shared environment. Where each sites has different configurations. Apache settings specific for your domain can be written in those file. It can be put in any place. normally it resides in the root directory. http://httpd.apache.org/docs/1.3/howto/htaccess.html Link to comment https://forums.phpfreaks.com/topic/124598-how-to-allow-an-user-to-upload-files-more-than-10mb/#findComment-643638 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.