Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

IP help

Asked Modified Viewed 1,688 times
G
grasshoper
G
  • Member, joined since
  • Contributed 131 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
asked
Member

Hi,
On my site, i have a 10 login limit mod, if you enter wrong password 10 times your banned, i think that its not reading the correct ip. When i was at my matess house with a completly different isp, he went online on my site. I have an ip panel that displays your ip address, and it said his ip address was a strange ip, i dont no whos it is and when i look at the people who have tried to login, the only ip that is displayed is this one. Can someone help?
thanks.
0 replies

4 posts

M
MrSimple
M
Make it work... keep it simple...
  • Senior Member, joined since
  • Contributed 324 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

If you do a WhoIs search on that Ip, you will know who's ip it is. I'm no network expert, but could it be a proxy or a local dns?
0 replies
G
grasshoper
G
  • Member, joined since
  • Contributed 131 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

Thanks for your reply, yea every single person that comes on my site has the same ip address: 208.74.170.25 which resolves to:
208-74-170-25.netrcllc.com Why would every single user on my site have that ip address. You can check for yourself, go to my site and look at the ip listed on the left hand side www.grasshopperssite.co.nr
Thanks
0 replies
K
Korcsii
K
Former Senior Developer (v7.02) and Hungarian Translator
  • Member, joined since
  • Contributed 132 posts on the community forums.
  • Started 8 threads in the forums
answered
Member

maincore.php
search:
define("USER_IP", $_SERVER['REMOTE_ADDR']);

replace with:
define("USER_IP", $_SERVER['HTTP_X_FORWARDED_FOR']);

maybe help....
Edited by Korcsii on 23-09-2007 23:39,
0 replies
G
grasshoper
G
  • Member, joined since
  • Contributed 131 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

ahh - thanks, thats sort of worked, if i look at the ips in the forums, it shows my correct ip, and in the who is online, however it stilll says the wrong ip in the panel.
Edited by grasshoper on 25-09-2007 03:21,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet