title: How can I detect if the user is on localhost in PHP?
body: <p>In other words, how can I tell if the person using my web application is on the server it resides on? If I remember correctly, PHPMyAdmin does something like this for security reasons.</p>