AS
PHP
Get IP e Browser del client
Codice
$ip=$_SERVER['REMOTE_ADDR'];
$browser=$_SERVER['HTTP_USER_AGENT'];
echo " IP: ".$ip."<br>Browser: ".$browser;
Output
IP: 34.232.63.94
Browser: CCBot/2.0 (https://commoncrawl.org/faq/)