Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#88468 - 17/04/2002 05:58 Anyway to show an .html to a specific IP?
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
I have someone who keeps posting nasty messages on my guestbook for my site. I had blocked the guy's IP address because he is dumb enough to do it from his home w. a static IP. I also blocked his work computers becuase they share an IP range. Is there some javascript that would let me send only him to a certain page I made saying something?
_________________________
Brad B.

Top
#88469 - 17/04/2002 06:10 Re: Anyway to show an .html to a specific IP? [Re: SE_Sport_Driver]
David
addict

Registered: 05/05/2000
Posts: 623
Loc: Cambridge
As far as I am aware, you can't get the IP address in JavaScript.

You can use an SSI to insert the IP into the HTML then use Javascript to compare it and display a message dialog.

However, since the guestbook must use some sort of server-side script, you should be able to hack something into the code fairly easily.


Edited by David (17/04/2002 06:16)

Top
#88470 - 17/04/2002 09:13 Re: Anyway to show an .html to a specific IP? [Re: David]
bmiller
member

Registered: 11/04/2001
Posts: 150
Loc: Sacramento, CA, USA
I agree, you would definitely do something server side to display the message only if the requestor IP is the one you are looking for.

Top
#88471 - 17/04/2002 09:28 Re: Anyway to show an .html to a specific IP? [Re: SE_Sport_Driver]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Do you have PHP installed?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#88472 - 17/04/2002 10:27 Re: Anyway to show an .html to a specific IP? [Re: SE_Sport_Driver]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
I will have to check... it is through www.DreamBook.com
_________________________
Brad B.

Top