title: Handling file uploads larger than 10mb in PHP
body: <p>I have this form </p>
  
  <pre><code>&lt;table class="table"&gt;
          &lt;div class="error"&gt;&lt;?php if(!empty($errors))echo output_errors($errors);?&gt;&lt;/div&gt;
          &lt;form action = "upload_music.php" method = "POST" enctype = "multipart/form-data"&gt;
          &lt;tr&gt;
              &lt;td&gt;Artist:&lt;/td&gt;
              &lt;td&gt;&lt;input type="text" name="artist" value=""&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Track Name:&lt;/td&gt;
              &lt;td&gt;&lt;input type="text" name="track_name" value=""&gt;&lt;/td&gt;
          &lt;/tr&gt;&lt;?php print_r($_FILES);?&gt;
          &lt;tr&gt;
              &lt;td&gt;Genre:&lt;/td&gt;
              &lt;td&gt;
              &lt;?php  
                  $genres = Genre:: getAllGenre();
              ?&gt;
                  &lt;select name = "genre"&gt;
                      &lt;?php 
                          for($i = 0  ; $i&lt;count($genres);$i++){
                          ?&gt;
                          &lt;option value = "&lt;?php echo "{$i}"?&gt;"&gt;&lt;?php echo "{$genres[$i]['genre']}";?&gt; &lt;/option&gt;
                      &lt;?php   }
  
                      ?&gt;
                  &lt;/select&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;/tr&gt;
              &lt;td&gt;Track:&lt;/td&gt;
              &lt;td&gt;&lt;input type='file' name='file_path'&gt;&lt;/td&gt;
          &lt;/tr&gt;
  
          &lt;tr&gt;
              &lt;td&gt;Track Description:&lt;/td&gt;
              &lt;td&gt;&lt;textarea name="track_desc" rows ="5"&gt;&lt;/textarea&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;input class="btn btn-success" type="submit" name = "submit" value="Upload"&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;form&gt;
      &lt;/table&gt;
  </code></pre>
  
  <p>Where the user will have to upload a track. every time I upload a file that is larger than 7mb the <code>print_r($_FILES);</code> prints an empty array. but when I upload a file that is below 8mb or an mp3 the <code>print_r($_FILES);</code> prints an array with values.</p>
  
  <p>I am guessing that the some  file is not being read by $_FILES  because their size is larger than 8mb?  if that's the case How would I upload files that is larger than 8mb? also my php.ini settings with regards to POSt and FILE uploads looks like this</p>
  
  <pre><code>post_max_size = 128M
  upload_max_filesize = 128M
  </code></pre>
  
  <p>if you guys needed an extra information I am using XAMPP.</p>