5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-09-25 10:58:56 +02:00
jensmemes/website/clientIP.php

8 lines
188 B
PHP
Raw Normal View History

2020-06-26 21:11:18 +02:00
<?php
$clientIP = $_SERVER['REMOTE_ADDR'];
$sql = "UPDATE token SET latest-ip='$clientIP' WHERE token='$tokenpost' OR token='$tokencookie'";
$result = mysqli_query($con,$sql);
?>