$_SERVER['REMOTE_ADDR'] differs between 2 servers
<p>I've got 2 servers from where I get my client <code>$_SERVER['REMOTE_ADDR']</code></p>

<p>On server (A), I store the ip from <code>$_SERVER['REMOTE_ADDR']</code> in the DB and perform a <code>header('Location: ...')</code> to Server (B).
Server (B), prints/echo the ip with <code>$_SERVER['REMOTE_ADDR']</code> on screen.</p>

<p>Sidenote: the page on server (A) gets called from inside an iframe, the page of server (B) gets loaded into the same iframe afterwards.</p>

<p>However when I compare both results, I can see that Server (A) returns the local network IP and Server (B) returns the external IP. What is the reason for this? I expected both to be the local/external ip as behavior.</p>
