-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.php
47 lines (41 loc) · 1.34 KB
/
index.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
40
41
42
43
44
45
46
47
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>File Uploader</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
margin: 10px;
font: 62% Tahoma, Arial, sans-serif;
}
#main_container{
font-size: 1.4em;
}
h2 {
font-size: 2em;
padding-bottom: 20px;
}
</style>
<link href="css/ui-lightness/jquery-ui-1.8.14.custom.css" rel="stylesheet" type="text/css" />
<link href="css/fileUploader.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.6.2.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.14.custom.min.js" type="text/javascript"></script>
<script src="js/jquery.fileUploader.js" type="text/javascript"></script>
</head>
<body>
<div id="main_container">
<h2>jQuery Fileuploder Plugin</h2>
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="userfile" class="fileUpload" multiple>
<button id="px-submit" type="submit">Upload</button>
<button id="px-clear" type="reset">Clear</button>
</form>
<script type="text/javascript">
jQuery(function($){
$('.fileUpload').fileUploader();
});
</script>
</div>
</body>
</html>