Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Commit e7c92d8

Browse files
author
nerdofcode
committed
spring cleaning
1 parent 3297c66 commit e7c92d8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<?php
4040
include('user.php');
4141
$user_name = $_POST['UID'];
42-
$user_password = $_POST['passwd'];
42+
$user_pass = $_POST['passwd'];
4343
$db = mysqli_connect('localhost',$user,$pass,$database) or die("Error connecting to MYSQL");
4444
$query = "SELECT password FROM $table WHERE name = '$user_name'";
4545
mysqli_query($db, $query) or die("Unable to access MYSQL");

mysql_exec.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
</head>
1717
<body>
1818
<h1 style="text-align: center;">Admin Panel</h1>
19-
<a href="logout.php">Logout</a><hr>
19+
<a href="logout.php">Logout</a>&ensp;
20+
<a href="options.php">Home</a><hr>
2021
<p>Below is version v.000001 of admin panel by NerdOfCode</p>
2122
<p>You can execute shell commands seperately from Mysql commands</p>
2223
<form action="" name="query" id="query" method="post">

0 commit comments

Comments
 (0)