atulkul Posted February 7, 2007 Share Posted February 7, 2007 Hello all, I know how to get ip address using PHP but if we used that it returns correct ip address if application is executed from IE browser , but from Mozilla browser it shows different ip address.i.e from IE it gives like 192.169.1.8 and other from 61.11.23.322 like wise , what could be issue . Does anyone knows any soln to this problem. Thanks in advance Link to comment https://forums.phpfreaks.com/topic/37452-get-ip-address-using-php-code/ Share on other sites More sharing options...
trq Posted February 7, 2007 Share Posted February 7, 2007 192.169.1.8 is a lan address while 61.11.23.322 is wan. How are you accessing the site? Is it local? IP addressses are a pretty unreliable method of recognition. Link to comment https://forums.phpfreaks.com/topic/37452-get-ip-address-using-php-code/#findComment-179057 Share on other sites More sharing options...
atulkul Posted February 8, 2007 Author Share Posted February 8, 2007 Hello, Yes , i m executing the site online , but returns correct IP from IE browser , and returns other ip from mozilla browser that is global ip , i want the local ip that is the correct m/c ip.Is it possible. Link to comment https://forums.phpfreaks.com/topic/37452-get-ip-address-using-php-code/#findComment-179720 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.