Page 1 of 1

Size of Uploaded file

Posted: Fri Apr 15, 2011 11:09 pm
by Gopesh
what is maximum size of file uploaded in the server in PHP? can we change it by editing php.ini file?

Re: Size of Uploaded file

Posted: Mon Apr 18, 2011 4:54 pm
by Darhazer
Yes, you can change it. Pay attention to
upload_max_size
post_max_size (should be bigger than upload_max_size)
memory_limit

Also, if you are planning to upload large files, I would recommend you using uploadify or another flash-uploader on the client side (so you can provide user with progress bar)

Re: Size of Uploaded file

Posted: Mon Apr 18, 2011 4:59 pm
by fugix
default max_upload_size is 2M

Re: Size of Uploaded file

Posted: Fri Apr 22, 2011 9:02 am
by Gopesh
Thanks Darhazer and fugix for the reply...

Re: Size of Uploaded file

Posted: Fri Apr 22, 2011 9:04 am
by fugix
glad we could help