$Address = $_SERVER['REMOTE_ADDR']; echo "Your IP Address has been logged: $Address"; ?>