What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » (!IP) in latest version not giving proper external IP

Pages: (2): « First [ 1 ] 2 » Last »
(!IP) in latest version not giving proper external IP
Author: Message:
TheDude
Junior Member
**


Posts: 52
– / Male / –
Joined: Sep 2003
O.P. (!IP) in latest version not giving proper external IP
The command is giving the IP of the NTL proxy type thing that us NTL users get, which is 80.4.224.4, instead of my real IP address.   The only IP plugin etc. for messeger plus! which gives my real IP address is "IP Plug MSN Client" made by Hah which can be found here: http://shoutbox.menthix.net/showthread.php?tid=19...d=183650#pid183650

It's not a problem because I have the plugin, I'd just thought I'd say.
09-20-2004 05:50 PM
Profile E-Mail PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: (!IP) in latest version not giving proper external IP
Hum.. do you have an idea how this plugin gets your IP? The way I work is simply to send a request to my server and ask it about your IP as it sees it.
[Image: signature2.gif]
09-20-2004 06:38 PM
Profile PM Web Find Quote Report
lopardo
Veteran Member
*****


Posts: 1395
Reputation: 33
38 / Male / Flag
Joined: Nov 2002
Status: Away
RE: (!IP) in latest version not giving proper external IP
BTW, TheDude, do websites like http://www.whatismyip.com/ give you your correct IP?
[Image: userbar452797dd.gif]
09-20-2004 06:56 PM
Profile PM Find Quote Report
TheDude
Junior Member
**


Posts: 52
– / Male / –
Joined: Sep 2003
O.P. RE: (!IP) in latest version not giving proper external IP
No whatsmyip.com doesn't get it right, but sites such as http://www.grc.com 's "shieldsup" does.  Most forums get its wrong I find, but some get it right it varies from site to site.

The plugin does much the same as plus: it accesses a web page done in PHP and located at http://members.lycos.co.uk/itstom/ipplug/ip.php

Tis a PHP script don't know if that makes any difference, I think it just depends on the way of retrieving the IP with HTML or whatever, some methods are more accurate.
09-20-2004 07:33 PM
Profile E-Mail PM Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: (!IP) in latest version not giving proper external IP
http://www.showmyip.com <-- is that one correct? :s

and btw, i'm pretty sure all the servers are the same. :s
09-20-2004 07:34 PM
Profile E-Mail PM Find Quote Report
TheDude
Junior Member
**


Posts: 52
– / Male / –
Joined: Sep 2003
O.P. RE: (!IP) in latest version not giving proper external IP
Yes www.showmyip.com gets it right (Y)
09-20-2004 07:41 PM
Profile E-Mail PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: (!IP) in latest version not giving proper external IP
Well, then, I'd like to know what PHP parameter they use... if you can get this, I'll fix your problem asap.
[Image: signature2.gif]
09-22-2004 12:42 AM
Profile PM Web Find Quote Report
brian
Senior Member
****

Avatar

Posts: 819
Reputation: 43
– / Male / –
Joined: Sep 2004
RE: (!IP) in latest version not giving proper external IP
I'll guess that's just an auto-assigned variable by php
code:
$_SERVER['REMOTE_ADDR'];

Could be used...

code:
print $_SERVER['REMOTE_ADDR'];
09-22-2004 01:32 AM
Profile PM Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: (!IP) in latest version not giving proper external IP
Well, that's exactly what I use right now :)
[Image: signature2.gif]
09-22-2004 03:36 AM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: (!IP) in latest version not giving proper external IP
REMOTE_ADDR is the most reliable/common, and can be trusted. However, it doesn't always show the correct IP if you're using a proxy. For that, you need HTTP_X_FORWARDED_FOR, but keep in mind that it can be spoofed, or contain dodgy values such as "unknown" or multiple IPs added by multiple proxies. :dodgy:

Very simple example that doesn't check if HTTP_X_FORWARDED_FOR is valid (I'm lazy :p)...

code:
if($_SERVER['HTTP_X_FORWARDED_FOR']) {
    echo $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
    echo $_SERVER['REMOTE_ADDR'];
}

This post was edited on 09-22-2004 at 04:09 AM by WDZ.
09-22-2004 04:04 AM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On