<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041882" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041882</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Thank you both for your help</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/help-getting-servers-ip-address#comment-1233268</link>
    <description> &lt;p&gt;Thank you both for your help &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt; i would love to solve this through creating a program, but some times you shouldn&#039;t re-invent the wheel &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt; going to take a look at this no-ip thing &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;p&gt;Relentless!&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Sep 2008 02:22:16 +0000</pubDate>
 <dc:creator>IO.Relentless</dc:creator>
 <guid isPermaLink="false">comment 1233268 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Solution #1:
To answer your</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/help-getting-servers-ip-address#comment-1233267</link>
    <description> &lt;p&gt;&lt;strong&gt;Solution #1&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;To answer your specific question, you would need a script on your server that would log the IP address of the client accessing it.  For example, something like this on your server:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;file_put_contents&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;ip.txt&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;REMOTE_ADDR&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Then, whenever you want to know your IP address of your home network, just call up example.com/ip.txt (assuming that the PHP script is stored at example.com).&lt;/p&gt;
&lt;p&gt;Now a computer from your home network will have to periodically load that PHP script from your server so it would update.  The easiest way I can think of would be to write a small Windows program that sends a hit to that URL every few minutes.  You could also add a meta refresh tag to that php script above that would tall a browser to refresh the page after a set amount of time, but then you would have to leave a browser open on a computer.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution #2&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;There is a free Dynamic DNS service by &lt;a href=&quot;http://www.no-ip.com/services/managed_dns/free_dynamic_dns.html&quot;&gt;No-IP&lt;/a&gt; and a couple other companies that will do all of this for you.&lt;/p&gt;
&lt;p&gt;I vote for #2. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/nerdy.png&quot; title=&quot;Cool&quot; alt=&quot;Cool&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Edit: darn it, Matt beat me to it &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Sep 2008 01:54:00 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1233267 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Actually, I think you could</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/help-getting-servers-ip-address#comment-1233266</link>
    <description> &lt;p&gt;Actually, I think you could even just use your no-ip subdomain when you connect to your VPN service (you wouldn&#039;t even have to check your account). Relentless.no-ip.org (for example) would always point you at the right place for your VPN.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Sep 2008 01:50:31 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1233266 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>You&#039;re on a Windows machine</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/help-getting-servers-ip-address#comment-1233265</link>
    <description> &lt;p&gt;You&#039;re on a Windows machine right? I think the easier solution would be signing up for &lt;a href=&quot;http://www.no-ip.com/services/managed_dns/free_dynamic_dns.html&quot;&gt;No-IPs&lt;/a&gt; free DNS service, and using their Dynamic Update Client. It is usually used for web servers, but it doesn&#039;t really matter. All that matters is that when you login to your no-ip account, you&#039;ll see your up to date IP. It&#039;s not as cool as writing a program to do it, but it gets the job done.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Sep 2008 01:46:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1233265 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
