5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2025-03-23 09:50:27 +01:00
This commit is contained in:
ITbyHF 2020-09-02 23:17:31 +02:00
parent b5194e5967
commit e5283e36e7

View file

@ -0,0 +1,9 @@
<?php
$clientIP =$_SERVER['REMOTE_ADDR'];
$tk = $_COOKIE['token'];
$sql = "UPDATE `token` SET `latest-ip` = '$clientIP' WHERE `token` = '$tk';
";
if(!mysqli_query($con, $sql)){
echo "Err_ Sending Client IP".mysqli_error($con);
}
?>