Update index.php

pull/8/head
SuperDev 3 years ago committed by GitHub
parent 87d2dc0524
commit 7003b156d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,9 +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);
?>
<div class="notification success">
Success ! Your file are available here: <a href="<?= file_url_destination.'/'.file_destination.'/'.$newfilename; ?>"><?= file_url_destination.'/'.file_destination.'/'.$newfilename; ?></a>
Success ! Your file are available here: <a href="download.php?file=<?=$destination?>"><a href="download.php?file=<?=$destination?></a>
</div>
<?php
}else{

Loading…
Cancel
Save