title: How do I get the external IP of my server using PHP?
body: <p>I often hear people say to use "<code>$_SERVER['SERVER_ADDR']</code>", but that returns the LAN IP of my server (e.g. 192.168.1.100). I want the external IP.</p>