SRL Archive - Web Development

SCAR Identification


rogeruk

2007-10-20 09:29:49

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

2007-10-20 11:39:35

IP should work, unless they got a dynamic IP.
What do you use to get the ip?

rogeruk

2007-10-20 11:49:50

$_SERVER [ 'REMOTE_ADDR' ];

Or am i using the wrong one?

Markus

2007-10-20 13:33:32

That's the good one.
But strange, maybe a bug in the code that checks if the ip is the same?

rogeruk

2007-10-20 16:50:50

Rewritten code and seems to be working now lol. Good old PHP :D