-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaDU.php
More file actions
24 lines (24 loc) · 1.03 KB
/
aDU.php
File metadata and controls
24 lines (24 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
require 'config.php';
// $sql = "SELECT `uid`, `username`, `empid`, `empname`, `age`, `dob`, `gender`, `dateofjoining`, `designation`, `office` FROM `employeedetails` where uid=\"534681\"";
$sql = "SELECT `uid`, `username`, `empid`, `empname`, `age`, `dob`, `gender`, `dateofjoining`, `designation`, `office` FROM `employeedetails` where uid=\"".$_POST['uid']."\"";
$string="";
$result=mysqli_query($conn,$sql);
if ($row=mysqli_fetch_array($result)){
foreach (array_unique($row) as $value) {
$string=$string."$value<>";
}
}
$sql = "select `password` from `loginpage` where uid=\"".$_POST['uid']."\"";
$result=mysqli_query($conn,$sql);
if ($row=mysqli_fetch_array($result)){
foreach (array_unique($row) as $value) {
$string=$string."$value<>";
}
}
echo $string;
}else{
echo "<h1>entha mone hacking aano<h1><br><img src=\"./images/shammi.jpg\" alt=\"parayenne\">";
}
?>