-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathupload.php
40 lines (38 loc) · 1.47 KB
/
upload.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 lang="en">
<head>
<link id="stylesheet" rel="stylesheet" type="text/css" href="includes/style.css"/>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>upload</title>
</head>
<body>
<div class="upload">
<form action="process.php" method="post" enctype="multipart/form-data">
<label>Title:</label>
<input style="border-bottom: 2px solid white;background:none;border-style: none none solid;" class="form-control" type="text" name="name" id="name">
<label>Description:</label>
<input style="border-bottom: 2px solid white;background:none;border-style: none none solid;height:46px;" class="form-control" type="text" name="desc" id="desc">
<br>
<label>Uploadthumbnail:</label>
<input type="file" name="fileToUpload" id="fileToUpload">
<br>
<label>Uploadvideo</label>
<input type="file" name="fileToUpload2" id="fileToUpload2">
<label>Category</label>
<select name="category">
<option>SCIENCE&FICTION</option>
<option>COMEDY</option>
<option>STUDY&EDUCATION</option>
<option>ENTERTAINMENT</option>
<option>ADVANTURE</option>
<option>BUISNESS</option>
<option>ROMANCE&LOVE</option>
</select>
<button style="width:100%;color:white;" onclick="return foo2();" style="background-color:blue;" class="btn btn-primary" type="submit" name="submit">Uploadvideo</button>
</div>
</form>
</body>
<script src="script/script.js"></script>
</html>