From 4526edd4a94599d5fd02104d2c0539ff7745ce02 Mon Sep 17 00:00:00 2001 From: SuperDev Date: Wed, 21 Dec 2022 21:29:43 -0600 Subject: [PATCH] Update index.php --- index.php | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 96f3634..3584494 100644 --- a/index.php +++ b/index.php @@ -42,7 +42,81 @@ $core = new Core(); AnonUpload - Secure and anonymous file sharing - + + + + + + + <?= app_name; ?> - <?= app_desc; ?> + + + +
+ +FileTypeVerification($_FILES["fileToUpload"])){ + if($core->FileSizeVerification($_FILES["fileToUpload"])){ + $newfilename = $core->FileNameConvertor($_FILES["fileToUpload"]); + if($core->UploadFile($_FILES["fileToUpload"], $newfilename)){ + ?> +
+ Success ! Your file are available here: +
+ +
+ An error occured while trying to upload your file(s). +
+ +
+ Your file is too high/low. +
+ +
+ Incorrect file format. +
+ +
+ +

Drag your files here or click in this area.

+ +
    +
  • Supported files:
  • +
+
+
+ + + + + + +