nem33 Posted November 25, 2003 Posted November 25, 2003 http://www.whatismyipaddress.com Might be easier just to tell them to go there to check :p Quote
MicroMan Posted December 21, 2003 Posted December 21, 2003 I had this problem, and someone mentioned this solution... Have you tried to ping it with a TTL = 1? TraceRoute does this. Then it will die at the first router hop, and the packet will be returned to you. Quote
mooman_fl Posted December 21, 2003 Author Posted December 21, 2003 Thanks everyone for all the replies. Unfortunately I had to cheat a bit. I made a page in PHP that only has the function of outputting the IP addy of the visitor... I then had my program surf to that page and parse out the IP addy. dynamic_sysop: I gave your solution a try but unfortunately all it did for me was return my local IPs. MicroMan: I may fool around with this a bit but part of the problem is that you need to know the external IP of the local network router and it seems that this would just make the packet die when it hits the router and return the packet with the local addy. Could be wrong though... we shall see. Quote "Programmers are tools for converting caffeine into code." Madcow Inventions -- Software for the Sanity Challenged.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.