i want to use the ip address that can be saved along with the user info , when the user logged in, logged out and user ip address.
i want to know what datatype is needed for session ip address in MYSQL?, and
the problem is
$ipaddress = $_SERVER["REMOTE_ADD R"];
Echo "Your IP is $ipaddress!";
when i get the result it, shows ::1
why it doesnot show the full ip...