diff --git a/index.css b/index.css index 37823e6..d9a03cb 100644 --- a/index.css +++ b/index.css @@ -97,7 +97,7 @@ a:hover { text-decoration: underline; } -input { +input, select { font-size: 12pt; font-family: Monospace; font-weight: normal; diff --git a/upload.php b/upload.php index 96f4f9f..6a05a8e 100644 --- a/upload.php +++ b/upload.php @@ -27,7 +27,7 @@ $uploadLimit = $maxFileSize * 1000000; $keyID = 0; $self = dirname($_SERVER['PHP_SELF']); -if (!isset($_FILES['file']['name'])) { +if (!isset($_FILES['file']['name']) || $_FILES['file']['name'] == "") { if ($WebInterface == 0) { print "You didn't specify a file."; die();