Browse Source

Add post max size

ChillerDragon 4 years ago
parent
commit
3a53427586
1 changed files with 1 additions and 0 deletions
  1. 1 0
      upload.php

+ 1 - 0
upload.php

@@ -26,6 +26,7 @@ function verbose_error() {
         echo 'A php.ini file is not loaded<br>';
     }
     echo 'upload_max_filesize: ' . ini_get('upload_max_filesize') . '<br>';
+    echo 'post_max_size: ' . ini_get('post_max_size') . '<br>';
     print_r($_FILES['file']);
     echo '</code>';
 }