upload_max_filesize related problem

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

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

my tweets

 

January 2006
S S M T W T F
« Dec   Feb »
 123456
78910111213
14151617181920
21222324252627
28293031  

Flickr Photos



@kamalapur over bridge

@kamalapur station

cox's bazaar trip oct 09

cox's bazaar trip oct 09

More Photos
Follow

Get every new post delivered to your Inbox.