Ask the user to goto whatismyip.com or similar website and give you the IP. Or get them to tell you the results if $ip perhaps. Although I'm suspicious for your need of the IP, but I'm just always paranoid anyway.