Waffle
January 9, 2005, 7:10pm
1
I need to ban a certain person from accessing the bands site, due to her stalker like behaviour among other things.
I’m guessing I need her IP to do it, then its somethin in notepad saved as something else.
How do I get an IP?
And if its on 56k as the ip changes each time, is there a way to get around this?
Thanks.
Sniper
January 9, 2005, 11:06pm
2
if they have are on 56k then there is no way to block it as the ip changes all the time.
In PHP to get the ipaddress you can use [php]$ipaddress = $_SERVER[‘REMOTE_ADDR’];[/php]
If the server is running a *nix varient and you have r/w access to the /etc/hosts.deny file, you could add her IP address to that. If she’s on a small ma & pa ISP, you could even add her whole IP block to your deny list.
Waffle
January 10, 2005, 7:40am
4
Right, as far as I know, the server isn’t of a *nix varient.
And she’s on 56k, which is why I suspected it wouldn’t be possible.
Thanks for the info.
Addis
January 10, 2005, 4:46pm
5
Dial up users just get any free IP address from a pool at the ISP. Maybe you can tell her to stop or get broadband?
Waffle
January 10, 2005, 7:20pm
6
lol “get broadband so I can ban you, biatch”.
Unlikely, but its worth a shot.