5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-11-12 13:01:30 +01:00
jensmemes/website/clientIP.php
2020-06-26 21:11:18 +02:00

7 lines
188 B
PHP

<?php
$clientIP = $_SERVER['REMOTE_ADDR'];
$sql = "UPDATE token SET latest-ip='$clientIP' WHERE token='$tokenpost' OR token='$tokencookie'";
$result = mysqli_query($con,$sql);
?>