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 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.%") {} Link to comment https://forums.phpfreaks.com/topic/84987-ip-address-problem/#findComment-433415 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.