(03-12-2010, 04:41 PM)TheLifelessOne Wrote: How would you exclude a specific IP from being detected?Add an if statement to filter out the IP.
Then log anything that isn't equal to the IP specified.
PHP Code:
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$filterip = "localhost";
if ($ip == $filterip)
{
echo("Welcome!");
}
else
{
echo("You are not welcome here!");
}
?>
Hope this helped