PHP File Size

Started by jaysh4922, 01-08-2015, 23:14:03

Previous topic - Next topic

jaysh4922Topic starter

What is the maximum size of a file that can be uploaded using PHP and how can we change this


uditsh

The default values for PHP will restrict you to a maximum 2 MB upload file size. You can increasing this limit, for that you need to edit your 'php.ini' file. If you don't have access to php.ini then you need to edit '.htaccess' file in your root directory.
  •  


mishraviplav7877

File types allowed: gif, JPG, jpg, jpeg, JPEG, png, txt, nfo, doc, rtf, htm, dmg, zip, rar, gz, exe.

File size limit: 10 MB