different ways of getting the IP Address
<p>I was actually going through the question 1636644 .. and got confused with this </p>

<pre><code>" The getenv() function access to any environment variable to get the related value! "
</code></pre>

<p>Also ..</p>

<pre><code>" It would probably be better to use $_SERVER['REMOTE_ADDR']; to prevent incompatibilities between servers. "
</code></pre>

<p>what kind of compatibility issue can this be ??</p>

<p>Lastly, it says $_SERVER is an array with many elements but I find only the IP Address there .. does this array store anything else too???  </p>

<p>apologies for all these questions packed in one .. this is bcoz these are all related ..</p>
