diff --git a/index.php b/index.php index 3584494..51c6eed 100644 --- a/index.php +++ b/index.php @@ -1,49 +1,5 @@ = 0) && ($bytes < $kb)) { -return $bytes . ' B'; - -} elseif (($bytes >= $kb) && ($bytes < $mb)) { -return ceil($bytes / $kb) . ' KB'; - -} elseif (($bytes >= $mb) && ($bytes < $gb)) { -return ceil($bytes / $mb) . ' MB'; - -} elseif (($bytes >= $gb) && ($bytes < $tb)) { -return ceil($bytes / $gb) . ' GB'; - -} elseif ($bytes >= $tb) { -return ceil($bytes / $tb) . ' TB'; -} else { -return $bytes . ' B'; -} -} - -$maxsize = max_size; -$core = new Core(); -?> - - - - - - - - <?php if(app_name&&app_desc == null){ ?> - AnonUpload - Secure and anonymous file sharing <?php } if(app_name&&app_desc == !null){ echo app_name . ' - ' . app_desc; } ?> - - @@ -116,79 +72,4 @@ $(document).ready(function(){ }); - - - - - - - -
- - - - - -FileTypeVerification($_FILES["fileToUpload"])){ - if($core->FileSizeVerification($_FILES["fileToUpload"])){ - $newfilename = $core->FileNameConvertor($_FILES["fileToUpload"]); - if($core->UploadFile($_FILES["fileToUpload"], $newfilename)){ - ?> -
- Success ! Your file is available here: -
- -
- An error occured while trying to upload your file -
- -
- Your File Is Too Big -
- -
- Incorrect File Format -
- -
- -

Drag your files here or click in this area.
Max file size - -

-
-
- - - - - - - - - -