Update index.php

pull/8/head
SuperDev 3 years ago committed by GitHub
parent 1d71e48efe
commit 9b8689367a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,10 +47,10 @@ if(isset($_POST['submit'])){
if($core->FileSizeVerification($_FILES["fileToUpload"])){ if($core->FileSizeVerification($_FILES["fileToUpload"])){
$newfilename = $core->FileNameConvertor($_FILES["fileToUpload"]); $newfilename = $core->FileNameConvertor($_FILES["fileToUpload"]);
if($core->UploadFile($_FILES["fileToUpload"], $newfilename)){ 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"> <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> </div>
<?php <?php
}else{ }else{

Loading…
Cancel
Save