|
|
|
@ -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{
|
|
|
|
|