-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
28 lines (26 loc) · 1.17 KB
/
index.php
File metadata and controls
28 lines (26 loc) · 1.17 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
<!DOCTYPE html>
<html>
<head>
<title>HTTP File Upload Variables</title>
<meta charset="UTF-8">
<meta name="description" content="Show the attributes of $_FILES when uploading a file on a different page">
<meta name="keywords" content="$_FILES">
<meta name="author" content="JORGE LUIS AGUIRRE MARTINEZ">
<meta name="publish_date" property="og:publish_date" content="2023-03-01T22:00:00-0600">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../css/style2.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--Multipart/form-data ensures that form data is going to be encoded as MIME data-->
<form action="file_upload_manager.php" method="post" enctype="multipart/form-data">
<h2>Upload File</h2>
<!-- Name of the input fields are going to be used in our php script, in this case the name is "photo"-->
<input type="file" name="photo" id="fileSelect"><br><br>
<input type="submit" name="submit" value="Upload"><br><br>
<div> By J Lam MX</div>
<div style='text-align: center; padding: 10px; font-size: 20px; background: #fff;'>
<a href="../" title="return">Return to main page</a>
</div>
</form>
</body>
</html>