-1

I have made my upload form in my html file but when it tries to load, there is an error prompt:

Warning: POST Content-Length of 76523900 bytes exceeds the limit of 8388608 bytes in Unknown on line 0.

I am hoping for all positive response. Thank You :)

My code is:

<form name="video" enctype="multipart/form-data" method="post" action="">
  <input name="MAX_FILE_SIZE" value="100000000000000000" type="hidden"/>
  <input type="file" name="uploadvideo" />
  <input type="submit" name="upload" value="SUBMIT" />
</form>
Laur Ivan
  • 4,117
  • 3
  • 38
  • 62
junerd
  • 1
  • 2
    Did you try and google the error? It's a very common thing. – Epodax Sep 24 '15 at 12:51
  • html code
    – junerd Sep 24 '15 at 12:52
  • 1
    possible duplicate of [PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0](http://stackoverflow.com/questions/11719495/php-warning-post-content-length-of-8978294-bytes-exceeds-the-limit-of-8388608-b) – Erveron Sep 24 '15 at 13:52

1 Answers1

0

You need to set the value of upload_max_filesize and post_max_size in your php.ini

; Maximum allowed size for uploaded files.
upload_max_filesize = size

; Must be greater than or equal to upload_max_filesize
post_max_size = size
Abhishek Sharma
  • 6,689
  • 1
  • 14
  • 20