<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Get IP Address'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 13:05:26 +0000</lastBuildDate>
    <item>
      <title>Vordreller said on 21/Mar/2010</title>
      <link>https://snipplr.com/view/30066/get-ip-address</link>
      <description>&lt;p&gt;Why the last $ip = "" ?&#13;
&#13;
If nothing was done to the variable, then it should still have its original value, which is the same that is being entered  at the end. There's no need for it, since it will only be executed when non of the previous if-statements worked.&lt;/p&gt;</description>
      <pubDate>Sun, 21 Mar 2010 13:12:20 UTC</pubDate>
      <guid>https://snipplr.com/view/30066/get-ip-address</guid>
    </item>
    <item>
      <title>level09 said on 02/Aug/2010</title>
      <link>https://snipplr.com/view/30066/get-ip-address</link>
      <description>&lt;p&gt;it helps keeping the return type consistent ( string) , so it'll return empty string instead of NULL&lt;/p&gt;</description>
      <pubDate>Mon, 02 Aug 2010 21:31:58 UTC</pubDate>
      <guid>https://snipplr.com/view/30066/get-ip-address</guid>
    </item>
  </channel>
</rss>
