Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/291.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php $\u文件仅上载1个文件 Bestand kiezen。。。 贝斯特和基赞。。。_Php - Fatal编程技术网

Php $\u文件仅上载1个文件 Bestand kiezen。。。 贝斯特和基赞。。。

Php $\u文件仅上载1个文件 Bestand kiezen。。。 贝斯特和基赞。。。,php,Php,它只填充第一个图像,而第二个图像给出了一个错误:“4”,如何修复它, 我想要多个输入字段,而不是多个:D <label class="labelFile">Bestand kiezen...</label> <input type="file" name="images_1" class="fileChoose" accept=

它只填充第一个图像,而第二个图像给出了一个错误:“4”,如何修复它,
我想要多个输入字段,而不是多个:D

              <label class="labelFile">Bestand kiezen...</label>
                <input type="file" name="images_1" class="fileChoose" accept="image/*"></br></br></br>
                <label class="labelFile">Bestand kiezen...</label>
                <input type="file" name="images_2" class="fileChoose" accept="image/*"></br></br></br>

有两件物品被退回给您 像这样试试

<form method="POST" enctype="multipart/form-data" >

贝斯特和基赞。。。



贝斯特和基赞。。。


发送
大家好,欢迎来到StackOverflow。请看
<?php
var_dump($_FILES['images_1']);
var_dump($_FILES['images_2']);
?>
<form method="POST" enctype="multipart/form-data" >
    <label class="labelFile">Bestand kiezen...</label>
    <input type="file" name="images_1" class="fileChoose" accept="image/*"></br></br></br>
    <label class="labelFile">Bestand kiezen...</label>
    <input type="file" name="images_2" class="fileChoose" accept="image/*"></br></br></br>
    <button value="ppp" type="submit">send </button>
</form>