Ok so I have this code:
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
And the code is set up to save the Ips it has gathered in a txt file.
Well, I came back the other day and found some that would not work. Stuff like
145.8.163.25 and 202.88.233.27 and 80.231.145.10 and localhost
My question is:
1.Why am I getting the 145.8.163.25 and also how did the localhost thing get there?
2.Is there a way to breck the 145.8.163.25 stuff down into what I want?