nezbo Posted January 8, 2008 Share Posted January 8, 2008 hi all i am trying to get the ip address of the local computers, so i can use it to login from a range of pc's, but when i use the $_SERVER['SERVER_ADDR']; i get address 127.0.0.1, is there any way to get round this? Neil Quote Link to comment https://forums.phpfreaks.com/topic/84987-ip-address-problem/ Share on other sites More sharing options...
nezbo Posted January 8, 2008 Author Share Posted January 8, 2008 i am sorry i have just realised that it will only give me that ip addres if i working localy. i have another question now... how do i get a statment like this to work : if ($IP like "127.0.0.%") {} Quote Link to comment https://forums.phpfreaks.com/topic/84987-ip-address-problem/#findComment-433415 Share on other sites More sharing options...
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.