.feedbackForm {
position: relative;
display: inline-flex;
align-items: center;
left: 200px;
width: 100%;
border-radius: 1em;
top: 30px;
p {
position: relative;
-webkit-text-stroke-width: 1.5px;
-webkit-text-stroke-color: black;
color: #fff;
top: -40px;
left: 135px;
}
button {
position: relative;
border: none;
outline: none;
background: none;
cursor: pointer;
width: 30px;
height: 30px;
margin-right: 30px;
img {
width: 20px;
height: 20px;
}
}
}
<!DOCTYPE html>
<head>
</head>
<body>
<h1>Uploading Modules</h1>
<form method="POST" action="upload.php">
<input type="file" name="file">
<input type="submit">
</form>
</body>
</html>
<?php
require "lib/connection.php";
require "lib/library.php";
$lib = new Library();
$uploaded = $_FILES["file"];
if (!empty($uploaded)) {
$max_file_size = 52428800;
if ($uploaded["size"] > $max_file_size) {
echo "Max module size is 50mb.";
}
}