aboutsummaryrefslogtreecommitdiffstats
path: root/share_frontend.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 10:22:26 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 10:22:26 +0200
commitb6930703bb100ff3dc3637c5150b6ab993c1275a (patch)
tree34310454da27d01ad73068464a463a548fbea0c9 /share_frontend.php
parent8c55fc44a64f46d64ced2f053d8b441247cc1f36 (diff)
downloadfileup-b6930703bb100ff3dc3637c5150b6ab993c1275a.tar.gz
Front end for password protected files
Diffstat (limited to 'share_frontend.php')
-rw-r--r--share_frontend.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/share_frontend.php b/share_frontend.php
new file mode 100644
index 0000000..0a13cd7
--- /dev/null
+++ b/share_frontend.php
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <head>
+ <meta charset="utf-8">
+ <link rel="preconnect" href="https://fonts.gstatic.com">
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
+ <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
+ <title>shady file upload</title> <link rel="stylesheet" type="text/css" href="../css/style.css">
+ <title>shady file upload</title> <link rel="stylesheet" type="text/css" href="../css/sharefile_style.css">
+ </head>
+ </head>
+ <body>
+ <form method="GET" action="<?php echo "/php/share.php"; ?>">
+ <h2>Fileup</h2>
+ <div class="content">
+ This file is password protected.
+ <input type="hidden" name="file" value="<?php echo $_GET["file"];?>"><br>
+ <div class="h">
+ <span>Password</span>
+ <input type="password" name="password">
+ </div>
+ <input type="submit" value="Download">
+ </div>
+ </form>
+ </body>
+</html>