$server="localhost"; $db_user="heyashley_users"; $db_pass="Litu@kar123"; $db="heyashley_users"; $conn=mysqli_connect($server,$db_user,$db_pass,$db); $sqlQuery="SELECT * FROM users WHERE id='".$_COOKIE['ID']."'"; $sqlExec=mysqli_query($conn,$sqlQuery); $res=mysqli_fetch_assoc($sqlExec); if(!((md5($_COOKIE['ID'].'/ashley/'.$_COOKIE['name'])!=$_COOKIE['encPublicKeyId'])&&(md5($res['Password'])==$_COOKIE['pwd']))){ header('location:https://heyashley.xyz/home/index.html'); } ?>
Online