5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-11-14 14:01:55 +01: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);
?>