Quoting ElrondCT from my previous question :http://www.experts-exchange.com/Networking/Broadband/ISPs/Q_25335030.html
"Note also that your router and your computer are completely independent in getting addresses; you can have a static IP address for your router with a dynamic IP for your computer, or vice versa, or both can be of the same type (either one). Getting a static IP from an ISP is typically much more expensive (because it allows you to run as a web node, directly accessible by anyone); for your internal network, it's no big deal. If you go the dynamic route, your router provides the address to your computer, while your ISP provides the address to your computer. Therefore, a dynamic IP address for your computer is subject to change whenever either the computer or the router is restarted; a dynamic IP address that the router gets from the ISP is subject to change when the router is restarted or when the connection to the ISP is lost."
Which IP Address do you obtain from $_SERVER['REMOTE_ADDR']? Router or computer?