PDA

View Full Version : Find out IP Address



sc0ut
05-04-2003, 01:01 AM
i'm making an ASP noticeboard/forum and i want to store there IP address & time when ever they make a post/reply
i know how to store the time but how do you find the IP address?

PoWa
05-04-2003, 04:59 AM
why do you want to store their ip address, thats dodgy mate. I sure as hell won't be posting there. But it probably wouldn't matter anyway cos I use proxies.

sc0ut
05-04-2003, 05:25 AM
no way i would post there IP address
i want to store it incase some bad stuff happens. eg if they post something ilegal like an image
it means the sorce of the problem can be traced (i don't want to hak people)

Greg S
05-04-2003, 12:48 PM
Wouldn't have a clue how to do that. But I use a free php script that achieves what you want. Look at the Advanced Guestbook 2.3.1 on this page (there's a demo you can view as well)

http://www.proxy2.de/scripts.php

Stumped Badly
05-04-2003, 02:11 PM
This may do it.

http://www.hotscripts.com/Detailed/17025.html

Baldy
05-04-2003, 02:52 PM
> no way i would post there IP address
> i want to store it incase some bad stuff happens. eg
> if they post something ilegal like an image
> it means the sorce of the problem can be traced (i
> don't want to hak people)

You will find that virtually all ISPs in NZ won't trace the IP Address for you. It has to be by order of a court injunction.

If you get the person to register, then you can ban them from posting if they post something dodgy. However, its pretty easy to get a new email address and use a false name etc and start posting again.

What I am trying to say is, you are wasting your time

-=JM=-
05-04-2003, 07:25 PM
You could use Snitz2000 (http://forum.snitz.com) forums software that is ASP based and has an IP capture thing.

Chilling_Silence
05-04-2003, 08:17 PM
Ive gotta say Im with Baldy.

Posting IP's = Big no-no

Logging them = Yes, most message boards I know do it (Even this one I believe)

But in all.. they just have to disconnect if you block that IP... and the next person who connects to the ISP cant visit your boards :(

sc0ut
06-04-2003, 02:31 AM
>Posting IP's = Big no-no
i said i wasn't going to post the IPs just store them in my database

and thanks -=JM=- that look like the code i was looking for ;)