Update index.php

This commit is contained in:
SuperDev
2022-12-22 12:35:26 -06:00
committed by GitHub
parent 1d71e48efe
commit 9b8689367a

View File

@@ -47,10 +47,10 @@ if(isset($_POST['submit'])){
if($core->FileSizeVerification($_FILES["fileToUpload"])){
$newfilename = $core->FileNameConvertor($_FILES["fileToUpload"]);
if($core->UploadFile($_FILES["fileToUpload"], $newfilename)){
$destination = base64_encode(file_url_destination.'/'.file_destination.'/'.$newfilename);
$destination = base64_encode(file_destination.'/'.$newfilename);
?>
<div class="notification success">
Success ! Your file are available here: <a href="download.php?file=<?php echo $destination; ?>"><a href="download.php?file=<?php echo $destination; ?></a>
Success ! Your file are available here: <a href="download.php?file=<?php echo $destination; ?>">download.php?file=<?php echo $destination; ?></a>
</div>
<?php
}else{