-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmultiupload.php
39 lines (31 loc) · 1.31 KB
/
multiupload.php
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
<!DOCTYPE html>
<html>
<head>
<title>Upload Multiple Images Using jquery and PHP</title>
<!-------Including jQuery from google------>
<script src="jquery.js"></script>
<script src="script.js"></script>
<link rel="icon" href="icon/favicon.png">
<!-------Including CSS File------>
<link rel="stylesheet" type="text/css" href="style.css">
<body>
<div id="maindiv">
<div id="formdiv">
<h2>Multiple Image Upload Form</h2>
<form enctype="multipart/form-data" action="" method="post">
First Field is Compulsory. Only JPEG,PNG,JPG Type Image Uploaded. Image Size Should Be Less Than 100KB.
<hr/>
<div id="filediv"><input name="file[]" type="file" id="file"/></div><br/>
<input type="button" id="add_more" class="upload" value="Add More Files"/>
<input type="submit" value="Upload File" name="submit" id="upload" class="upload"/>
<br>
<!-------Including PHP Script here------>
<?php include "upload.php"; ?>
</form>
<br/>
<br/>
</div>
<!-- Right side div -->
</div>
</body>
</html>