Hello,
I'm having some problems with using IP addresses that are truly unique.
I'm trying to detect REMOTE_ADDR, HTTP_CLIENT_IP, and HTTP_X_FORWARDED_FOR (usually only 2 of the 3 are returned).
I'm using a bit more than that too, here is what it looks like when I create the identity:
$ip1 = $_SERVER['HTTP_USER_AGENT'];
$ip2 = $_SERVER['REMOTE_ADDR'];
$ip3 = $_SERVER['REMOTE_HOST'];
$ip5 = $_SERVER['HTTP_CLIENT_IP'];
$ip6 = $_SERVER['HTTP_X_FORWARDED_FOR'];
$uniqueid = $ip1.$ip2.$ip3.$ip5.$ip6;
I combine them together to use as an identifier for that person, so I know who they are while they browse my site without me having to use sessions and/or cookies.
But there's a problem. The script I made is for students at a school, there computers are all networked. So therefore, it appears to my script that all of the computers are only one.
Is there anything else I can do? Please help, it would be much appreciated.
Thanks in advance.