Alright guys here it is. Very straight-forward.
I will this with you. It may be easy to locate but most of the people aren't aware of it. So here it goes.
All you need to do is locate and open you php.ini file and just look for this word:
upload_max_filesize
It will look something like this:
And in this figure the upload limit is set to 2 Megabyte. You can set any limit you want. You can increase it or decrease the limit.
Its your choice depending upon the server capability and network traffic you have over the server.
Enjoy and leave your comments down below.
Thanks!
Saturday, 10 April 2010
How to Set an upload limit in PHP for a file.
Labels:
aspnet web developer
,
how to
,
it
,
learning
,
mysql
,
php
,
php.ini
,
size limit
,
sourcecode
,
training
,
tutorial
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment