<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>client &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/client/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Get the Server&#8217;s IP Address with PHP</title>
		<link>/2010/06/20/get-the-servers-ip-address-with-php/</link>
		<comments>/2010/06/20/get-the-servers-ip-address-with-php/#respond</comments>
		<pubDate>Sun, 20 Jun 2010 18:47:12 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">/?p=1633</guid>
		<description><![CDATA[If there&#8217;s a need to get the server&#8217;s IP address with PHP, the answer is simple: Actually that looks pretty much like the getting the user&#8217;s IP address:<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/05/10/phpini-for-two-web-servers/" rel="bookmark" title="php.ini for two web servers">php.ini for two web servers </a></li>
<li><a href="/2010/05/22/php-functions-realpath/" rel="bookmark" title="PHP Functions: realpath()">PHP Functions: realpath() </a></li>
<li><a href="/2011/08/17/php-fetch-get-as-string-with-http_build_query/" rel="bookmark" title="PHP: Fetch $_GET as String with http_build_query()">PHP: Fetch $_GET as String with http_build_query() </a></li>
<li><a href="/2012/08/17/its-not-true-that-php-arrays-are-copied-by-value/" rel="bookmark" title="It&#8217;s Not True that PHP Arrays are Copied by Value">It&#8217;s Not True that PHP Arrays are Copied by Value </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>If there&#8217;s a need to get the server&#8217;s IP address with PHP, the answer is simple:</p>
<pre lang="php">
<?php echo $_SERVER['SERVER_ADDR'] ?>
</pre>
<p>Actually that looks pretty much like the getting the user&#8217;s IP address:</p>
<pre lang="php">
<?php echo $_SERVER['REMOTE_ADDR'] ?>
</pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/05/10/phpini-for-two-web-servers/" rel="bookmark" title="php.ini for two web servers">php.ini for two web servers </a></li>
<li><a href="/2010/05/22/php-functions-realpath/" rel="bookmark" title="PHP Functions: realpath()">PHP Functions: realpath() </a></li>
<li><a href="/2011/08/17/php-fetch-get-as-string-with-http_build_query/" rel="bookmark" title="PHP: Fetch $_GET as String with http_build_query()">PHP: Fetch $_GET as String with http_build_query() </a></li>
<li><a href="/2012/08/17/its-not-true-that-php-arrays-are-copied-by-value/" rel="bookmark" title="It&#8217;s Not True that PHP Arrays are Copied by Value">It&#8217;s Not True that PHP Arrays are Copied by Value </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/06/20/get-the-servers-ip-address-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
