rbxlmadx
Member
- Messages
- 32
- Reaction score
- 1
- Points
- 8
So I want to track IPs, but when I do this:
$IP = $_SERVER['REMOTE_ADDR'];
mysql_query("INSERT into `ips` (`ip`, `username`) VALUES('$IP', '$my->username')");
The username shows up right, but the IP shows up as four numbers, like so; 1111 and not an actual IP address; 111.111.11
$IP = $_SERVER['REMOTE_ADDR'];
mysql_query("INSERT into `ips` (`ip`, `username`) VALUES('$IP', '$my->username')");
The username shows up right, but the IP shows up as four numbers, like so; 1111 and not an actual IP address; 111.111.11