I wish to get the local machine ip address on which a particular has to run. To run the page I first check if the local IP address matches the specified one and only then it will open that page. I am programming in PHP.
I have tried $_SERVER and getenv but the address provided by them does not match the IP address of my computer. Moreover they change every time the connection refreshes.
Please help.