I have heard and faced this problem several times when i need to upload more than 2M file using my php script….
-> “upload_max_filesize” is one php.ini defined property… this propery limits the maximum uploadable content size…
– PHP manual described this propery as “PHP_INI_PERDIR”…
– PHP_INI_PREDIR means “Entry can be set in php.ini, .htaccess or httpd.conf “…
-
- You need to upload more than 2M file
->> You can do it just change php.ini “upload_max_filesize” propery …
– Example: upload_max_filesize=100M
-
- When you dont have php.ini access….
->> You can change this property using .htaccess file…
(#)File: .htaccess
————————————————–
php_value upload_max_filesize 100m
————————————————–
*NOTE: (—-) this signed used for indicating start and end of file…
Save in your php web root directory…
Thats it…
Thank you
NHM Tanveer Hossain KHan (h asan)
http://hasan.we4tech.com [Ajax based WP template]
http://www.somewherein.net
http://www.somewherein.net/blog





Recent Comments