-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
50 lines (46 loc) · 2.15 KB
/
index.php
File metadata and controls
50 lines (46 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>Upload Multiple Images Using jquery and PHP</title>
<!---Including jQuery and fonts from google -->
<link href='http://fonts.googleapis.com/css?family=Alegreya' rel='stylesheet' type='text/css'>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!--- Including JS File -->
<script src="styles/js/bootstrap.min.js"></script>
<script src="styles/js/script.js"></script>
<!--- Including CSS File -->
<link rel="stylesheet" type="text/css" href="styles/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="styles/css/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div id="maindiv" class="col-sm-12 col-xs-12">
<div id="formDiv">
<i class="glyphicon glyphicon-cloud-upload"></i>
<h2>Multiple Image Upload</h2>
<br>
<div class="form_upload">
<form enctype="multipart/form-data" action="" method="post">
<input type="hidden" value="" name="delete_img" id="delete_img">
<div class="picture"><i class="glyphicon glyphicon-picture"></i>Choose image to upload</div>
<div class="fileDivParent">
<input name="imgMulti[]" type="file" id="imgMulti" class="form-control imgMultiple" multiple="true" />
<div class="test"></div>
</div>
<div class="divider">
<input type="button" id="add_more_img" class="upload_img" value="+ Add another images"/>
<input type="submit" value="Submit" name="submit" id="submit" class="upload_img"/>
</div>
</form>
</div>
<br/>
<br/>
<!--- Including PHP Script -->
<?php include "upload.php"; ?>
</div>
</div>
</div>
</div>
</body>
</html>