<?php
$iphttp = $_SERVER[‘HTTP_CLIENT_IP’];
$ipfor = $_SERVER[‘HTTP_X_FORWARDED_FOR’];
$ipadd = $_SERVER[‘REMOTE_ADDR’];
echo “HTTP_CLIENT_IP = “.$iphttp.”<br>”;
echo “HTTP_X_FORWARDED_FOR = “.$ipfor.”<br>”;
echo “REMOTE_ADDR = “.$ipadd.”<br>”;
echo “<br>”;
echo (new \DateTime())->format(‘Y-m-d H:i:s’);
?>