View Full Version : Question


Tjololo
03-15-2003, 10:04 PM
Ok, I have two questions. 1st:How do you find out a person's IP? 2nd: Is there any way to figure out an IP address of someone who's accessed one of your pages? Like, say someone accesses a page that they're not supposed to, and nobody else but me and that person's accessed it, is there a way to find out that person's IP to block only them?

Acid Glitter
03-15-2003, 11:33 PM
There is a way to block a certain IP address from accessing your site and I know of a way to track an IP address, but I'm not certain of the code that logs IP addresses, you'll have to look that one up.

For the blocking of a certain IP address go here;

http://www.lissaexplains.com/html6.shtml#block

To track an IP address go here;
http://www.arin.net/whois/index.html

As for the logging IP address code I suggest about.com (http://www.about.com)

and look up a tutorial on IP addresses or search for the code at google. If you have any more questions feel free to ask.


On another note blocking certain IP addresses might not work for someone who was DSL because their IP address changes every now and then, by using the tracking site above you can tell the internet service provider and connection type.

Tjololo
03-15-2003, 11:41 PM
Ok, but how do I get someone's IP address?

Acid Glitter
03-16-2003, 05:06 AM
To get's someone IP address you have to put in a IP logging code which is generally in php format. I'm not an expert on PHP so your best bet would be to go to a search engine and look up information on IP logging.

I'm assuming that you're using geocities ( from your profile ) and I'm not entirely sure if geocities is enabled to use php or log IP addresses. You can try though and I'll continue to read up on the subject.

Tjololo
03-16-2003, 02:51 PM
Ok thanks, I'll try using a search engine. I hope that geocities is PHP enabled. If not, it's going to make it harder ;-) Thanks for your help!!

Tjololo
03-16-2003, 03:23 PM
Hang on a sec, I thought of a better way to do this...is there a way to only let ONE IP, like for instance, mine, into a website?

Acid Glitter
03-16-2003, 03:41 PM
Personally, I don't know the exact code, but I do know that there is one. Once again, search for it at an HTML site or see if you can work with the code referenced on one of Lissa's page.

Go here for the code;
http://www.lissaexplains.com/html6.shtml#block

Tjololo
03-16-2003, 04:13 PM
OK thanks a LOT you've been a BIG help!!

Tjololo
03-17-2003, 08:28 PM
Ok, I found the code, but it doesn't work! Can one of the moderators or someone who knows more about it (I'm not knocking on you acid so please don't take me the wrong way...) help me out on this? Ok, here's what I have:
<Limit GET>
order allow,deny
allow from 205.188.208.7 (my IP)
deny from none
</Limit>
Could someone help me out on this code because I'm kinda at a loss here...I'd really appreciate it.

Sakii
03-17-2003, 10:39 PM
I don't know about this, but doesn't 'deny from none' mean that it won't deny anyone from coming in the site? o_o just a guess.

Tjololo
03-18-2003, 08:18 PM
I don't think so, because the actual code (as was displayed on Lissa's site) was "Allow from all", and so I figured that "all" was let anyone and "none" was let no one in. If you put that into the deny from catagory, it's kindof like a double negative, so it cancells itself out. I think...anyway, it allowed me and someone else on the site so I don't think it means let no one.

However I do see your point...I just figured that the "allow from (whatever my IP was, don't feel like lookin it up again)" would make only me be able to get it...I'll try changin it to "all" and see if that helps. I'll post back either way, either to thank you or to report that it don't work and I still need some help.

epolady
03-18-2003, 08:33 PM
Are you trying this code on Geocities?

Tjololo
03-18-2003, 08:35 PM
Yeah

epolady
03-18-2003, 08:37 PM
I .... don't think Geo allows .htaccess files....

Tjololo
03-18-2003, 08:40 PM
IT doesn't? ARGH! That really stinks...The password code that lissa gives doesn't really help either, I've gotten around it myself...Oh well I guess it can't be helped...Thanks anyway, everyone.