PDA

View Full Version : SCAR Identification



rogeruk
10-20-2007, 01:29 PM
Hey all,

Ive been experimenting a bit with Authentications / Checking for updates etc with PHP but im comming across a problem with the identification side.

I tried detecting IP but it doesn't seem to be working. I don't want to send the SRL user cause thats just opening for flaming.

Registration isnt an answer aswell, since people arn't using SRL stats.

Any idea's?

Markus
10-20-2007, 03:39 PM
IP should work, unless they got a dynamic IP.
What do you use to get the ip?

rogeruk
10-20-2007, 03:49 PM
$_SERVER [ 'REMOTE_ADDR' ];

Or am i using the wrong one?

Markus
10-20-2007, 05:33 PM
That's the good one.
But strange, maybe a bug in the code that checks if the ip is the same?

rogeruk
10-20-2007, 08:50 PM
Rewritten code and seems to be working now lol. Good old PHP :D