Porno
Regístrate gratis Iniciar sesión

Tinyfilemanager 2.4.3 (2026)

if ($full_path === false || strpos($full_path, $root_path) !== 0) $full_path = $root_path; $current_path = '';

// Upload file size limit (in bytes) $upload_max_size = 50 * 1024 * 1024; // 50MB

header('WWW-Authenticate: Basic realm="TinyFileManager"'); header('HTTP/1.0 401 Unauthorized'); echo 'Authentication required'; exit; tinyfilemanager 2.4.3

// Actions $action = isset($_POST['action']) ? $_POST['action'] : (isset($_GET['action']) ? $_GET['action'] : '');

// Helper functions function get_size($bytes) if ($bytes >= 1073741824) return number_format($bytes / 1073741824, 2) . ' GB'; if ($bytes >= 1048576) return number_format($bytes / 1048576, 2) . ' MB'; if ($bytes >= 1024) return number_format($bytes / 1024, 2) . ' KB'; return $bytes . ' B'; if ($full_path === false || strpos($full_path, $root_path)

// ============================================= // DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU DO // =============================================

// Enable/disable authentication $use_auth = true; ' GB'; if ($bytes >= 1048576) return number_format($bytes

// Read-only users $read_only_users = array('user');

if (!$readonly) if ($action === 'mkdir' && isset($_POST['name'])) $newdir = $full_path . '/' . basename($_POST['name']); if (!file_exists($newdir)) mkdir($newdir, 0755);

$listing = list_directory($full_path, $show_hidden_files); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>TinyFileManager 2.4.3</title> <style> body font-family: sans-serif; margin: 20px; background: #f4f4f4; .container max-width: 1200px; margin: auto; background: white; padding: 20px; border-radius: 8px; h1 margin-top: 0; table width: 100%; border-collapse: collapse; th, td text-align: left; padding: 8px; border-bottom: 1px solid #ddd; th background: #eee; .btn display: inline-block; padding: 6px 12px; background: #007bff; color: white; text-decoration: none; border-radius: 4px; .btn-danger background: #dc3545; .form-inline display: inline; input, button padding: 6px; margin: 2px; .breadcrumb margin-bottom: 20px; .upload-area margin-bottom: 20px; background: #e9ecef; padding: 10px; border-radius: 4px; footer margin-top: 20px; text-align: center; font-size: 12px; color: gray; </style> </head> <body> <div class="container"> <h1>📁 TinyFileManager 2.4.3</h1> <div class="breadcrumb"> <a href="?path=">Root</a> <?php $parts = explode('/', trim($current_path, '/')); $build = ''; foreach ($parts as $part) if ($part === '') continue; $build .= '/' . $part; echo ' / <a href="?path=' . urlencode(ltrim($build, '/')) . '">' . htmlspecialchars($part) . '</a>';