PHP File Size

Author Topic: PHP File Size  (Read 1708 times)

Offline jaysh4922Topic starter

  • Trade Count: (0)
  • Sr. Member
  • ****
  • Thank You 30
  • Posts: 358
  • Karma: 0
PHP File Size
« on: 01-08-2015, 23:14:03 »
What is the maximum size of a file that can be uploaded using PHP and how can we change this


Offline uditsh

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 0
  • Posts: 28
  • Karma: 0
Re: PHP File Size
« Reply #1 on: 03-04-2015, 00:17:18 »
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.

Offline mishraviplav7877

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 0
  • Posts: 50
  • Karma: 0
  • Gender: Male
Re: PHP File Size
« Reply #2 on: 08-17-2017, 04:27:50 »
File types allowed: gif, JPG, jpg, jpeg, JPEG, png, txt, nfo, doc, rtf, htm, dmg, zip, rar, gz, exe.

File size limit: 10 MB

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1829 Views
Last post 06-11-2010, 10:07:54
by ryosuzuki
0 Replies
998 Views
Last post 11-01-2011, 04:01:10
by manvbf
0 Replies
925 Views
Last post 06-14-2012, 06:45:18
by webtrafficassistant
0 Replies
1086 Views
Last post 03-04-2013, 04:01:20
by titly555
0 Replies
777 Views
Last post 04-02-2016, 04:57:02
by chinmay.sahoo