-1

I have created a form with a file upload script, but when i run it, my browser tells me that the maximum upload limit has been exceeded. How do I fix this?

INternet Nub
  • 37
  • 1
  • 2
  • 6

1 Answers1

0

By file transfer hope you meant file upload.

There are two values to be set to change the file transfer size upload_max_filesize and post_max_size in your php.ini. Please see the code below

; Maximum allowed size for uploaded files.
upload_max_filesize = 20M

; Must be greater than or equal to upload_max_filesize
post_max_size = 20M

You can set any number you want as required. 20M means 20 MB.

Techie
  • 44,706
  • 42
  • 157
  • 243
  • Since you are new here, accept the answer(tick) which solved your problem. Up-vote(up arrow) the answer(s) which give(s) you information or help(s) you. Down-vote(down arrow) the answer(s) which are fake. – Techie Apr 12 '14 at 15:46