View Full Version : how do u get there IP number?
amyklearwater
09-20-2003, 02:31 PM
i've got this site and someone keeps on spamming me and abusing my website. i know there is a tutrial on how to block them but an Ip number is needed. Is there any way i can the persons Ip number so i can block them? i've tried to contact my host but they could do nothing about it:(
sarah
amyklearwater
09-20-2003, 02:33 PM
misake soz
Is there any way i can get the persons Ip number so i can block them? i've tried to contact my host but they could do nothing about it:(
sarah
Nightfire
09-20-2003, 02:33 PM
If you have access to your server log files, you can get it that way, otherwise you'll need a serverside language such as php
amyklearwater
09-20-2003, 02:42 PM
Originally posted by Nightfire
If you have access to your server log files, you can get it that way, otherwise you'll need a serverside language such as php
um what's php? is there any other way?
Nightfire
09-20-2003, 03:22 PM
PHP is a popular serverside language, which is used to create these forums. Other serverside languages are ASP, cgi, Perl, etc. I don't think there is anyother way to get an IP without a serverside language
amyklearwater
09-21-2003, 11:46 AM
Originally posted by Nightfire
PHP is a popular serverside language, which is used to create these forums. Other serverside languages are ASP, cgi, Perl, etc. I don't think there is anyother way to get an IP without a serverside language
so how would i get there ip number in php language?
sciguyryan
09-21-2003, 02:46 PM
hi,
i think that there is a way to just that with javascript:
see these links....
http://javascript.internet.com/user-details/ip-address.html
http://javascript.internet.com/user-details/ip-filter.html
http://javascript.internet.com/user-details/ip-filter-2.html
http://javascript.internet.com/user-details/ip.html
if you could modify one of these they would do just what you are asking....
hope that helps
amyklearwater
09-21-2003, 06:52 PM
Originally posted by sciguyryan
hi,
i think that there is a way to just that with javascript:
see these links....
http://javascript.internet.com/user-details/ip-address.html
http://javascript.internet.com/user-details/ip-filter.html
http://javascript.internet.com/user-details/ip-filter-2.html
http://javascript.internet.com/user-details/ip.html
if you could modify one of these they would do just what you are asking....
hope that helps
is there a way to get there ip number in using a special e-mail code or something so when they e-mail you , you can see there ip number?
oracleguy
09-21-2003, 08:15 PM
If they are using a form on your site to send you email, then yes. You just include their IP when the code to send the form is executed.
amyklearwater
09-22-2003, 08:47 AM
Originally posted by oracleguy
If they are using a form on your site to send you email, then yes. You just include their IP when the code to send the form is executed.
im kinda new so could u explain it a bit more..?
Spudhead
09-22-2003, 01:29 PM
I think we're in danger of getting email and web mixed up here.
If you're getting abusive emails from someone, you need to find out what email address they're sending them from and contact their ISP, who will usually be able to help. This can take some detective work; if they're using a fake ('spoofed') address it can be very hard.
If you have a form on your website that allows visitors to send you email, however, then that's different. Because that form will be using some sort of server-side language to send the email, and we can use the same language to find out all sorts of information about them - including their IP address.
Give us a little more info about what's actually happening and we'll see if we can come up with some steps to take.
amyklearwater
09-22-2003, 06:29 PM
ok, well they keep on spamming my chat but when they sign up to my website i use a form, which uses sever side language.
form as in:
(should be attached somewhere)
Spudhead
09-23-2003, 05:31 PM
Nice picture :)
Could you please post a link to this troublesome site of yours?
SDP2006
09-23-2003, 06:12 PM
If you know any PHP you can get there ip by doing this
<?php
echo $_SERVER['REMOTE_ADDR'];
?>
You would have to do a little bit more code to send the ip to a text file, which I don't know how to do right of the top of my head...
Hope this helps!
amyklearwater
09-23-2003, 06:34 PM
Originally posted by SDP2006
If you know any PHP you can get there ip by doing this
<?php
echo $_SERVER['REMOTE_ADDR'];
?>
You would have to do a little bit more code to send the ip to a text file, which I don't know how to do right of the top of my head...
Hope this helps!
thanx, do you know annyone who does know?
bcarl314
09-23-2003, 07:04 PM
Well, I think first you need to identify who's spamming you. Since everyone visiting your site will have an IP address, simply writing the IP address to a file will do no good since you will either have hundreds of entries, or only the most recent entry (visitor).
What I would do is store the data in a database if you have access to one.
But before I, or anyone else, continues along those lines, we'd need to know what your web host provides for server side languages and databases.
languages: (discussed before) PHP, PERL, ASP, JSP, ColdFusion
databases: MS SQL Server, mySQL, postGRE, Oracle
Also, do you know the domain name of your spammer? If so, you can go to www.domainwhitepages.com and look up their IP address.
Spudhead
09-24-2003, 01:24 PM
Like I said before, the first thing we need to do is not to start identifying people, but start identifying the problem. Which has so far taken over a page.
We have had three plausibly distinct entities mentioned; a website, email, and "chat". Chat could mean anything from a bulletin board to an applet.
We all know by now what an IP address is, how you can get it via server-side script, and how it can help identify visitors. It's going to do naff all good if people are sending emails and not using some sort of website-based form to do it.
We also know that there is, on this as-yet-unidentified site, some sort of server-side capability, and a form via which visitors can register. We know that the form looks very pretty, but not what it does.
Amy, we need to know the following:
1. Where is your site? What is the address? How do we see it?
2. How, exactly, are people sending abusive messages? Are they putting them on a page on your site? Are they using some sort of contact form on your site to send you emails? Are they simply sending emails themselves, to you email address?
Please respond.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.