I'm trying to upload multiple images and I want the limit of uploaded files at upload time to be 70 frames, but that limit is only 6.
I thought it was the configuration of php.ini, but it is not, because there the maximum file size is 15MB and in my test I am trying to upload 40 images that altogether only 3MB.
This is the HTML of my form:
<form method="POST" enctype="multipart/form-data">
<input type=file multiple name="files[]" id="files[]" />
<input type="submit" name="logar" value="Enviar" />
</form>
And this is the script used to upload:
<?php
if(isset($_POST['logar']))
{
$files = $_FILES['files'];
$directory = 'uploads/';
for($i = 0, $c = count($files); $i <= $c; ++ $i)
{
$upload = move_uploaded_file(
$files['tmp_name'][$i],
$directory . $files['name'][$i]);
}
}
?>
How to increase this limit?