Below is a php script to display the IP information, and information Showing a browser that visitors used the blog. For example, in this blog.
The script to display the IP visitors:
<?
$ip=$_SERVER['REMOTE_ADDR'];
$host=gethostbyaddr($ip);
$proxyip=$_SERVER['HTTP_X_FORWARDED_FOR'];
$proxyserver=$_SERVER['HTTP_VIA'];
echo “IP :Â $ip “;
if (isset($_SERVER['HTTP_X_FORWARDED_FOR']))
?>
To display the information in the browser using the php script in use:
<?php
echo $_SERVER['HTTP_USER_AGENT'] . “\n\n”;
?>
Enter the script in the sidebar.php or where it would be included, if I put themselves in the sidebar.php and displays such as exist in this Blog.

Recent Comments