<form action="" method="post" enctype="multipart/form-data"> <input type="file" name="photos[]" multiple> </form>