I used the code to log it in my sql database called IP_LOG and my table is IP_COLLECT, but the input I keep on getting is ::1, is this because this is localhost or is there a step I am forgetting, here is my code:
<?php
$ip = $_SERVER['REMOTE_ADDR'];
mysql_connect('localhost','root','****')...