There is one form sent to the file "upload2.php" - this is the main file. And another form with sending to the file "upload.php" is necessary for uploading files online. How to connect them?
<form action="upload2.php" method="post" class="form-horizontal" role="form" oninput="log(event)" > <input id="upload3" class="form-control" type="file" multiple="" name="upl"> <form id="upload" enctype="multipart/form-data" action="upload.php" method="post"> <input id="upload2" class="form-control" type="file" multiple="" name="upl"> </form> <input id="upload4" class="form-control" type="file" multiple="" name="upl"> </form>