definitive way to get user ip address php
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6717926/function-to-get-user-ip-address">Function to get user ip address</a>  </p>
</blockquote>



<pre><code>&lt;?PHP

$ipaddress = $_SERVER["REMOTE_ADDR"];

Echo "Your IP is $ipaddress!";

?&gt;
</code></pre>

<p>I was told this way of getting ip address has issues such as being able to fool.  Is there a better way to gather ip address? looking for tutorials of better way to get ip address?</p>
