<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How to Get Real Client IP Address In PHP	</title>
	<atom:link href="https://www.techplusme.com/get-real-client-ip-address-php/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.techplusme.com/get-real-client-ip-address-php/</link>
	<description>How To Tips and Computer Tricks</description>
	<lastBuildDate>Mon, 04 Jan 2016 18:35:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.2</generator>
			<item>
				<title>
				By: Sajjad				</title>
				<link>https://www.techplusme.com/get-real-client-ip-address-php/#comment-27696</link>
		<dc:creator><![CDATA[Sajjad]]></dc:creator>
		<pubDate>Mon, 04 Jan 2016 18:35:11 +0000</pubDate>
		<guid isPermaLink="false">https://www.techplusme.com/?p=1289#comment-27696</guid>
					<description><![CDATA[I think this function also help to find real IP address.
function getrealip()
{
 if (isset($_SERVER)){
if(isset($_SERVER[&quot;HTTP_X_FORWARDED_FOR&quot;])){
$ip = $_SERVER[&quot;HTTP_X_FORWARDED_FOR&quot;];
if(strpos($ip,&quot;,&quot;)){
$exp_ip = explode(&quot;,&quot;,$ip);
$ip = $exp_ip[0];
}
}else if(isset($_SERVER[&quot;HTTP_CLIENT_IP&quot;])){
$ip = $_SERVER[&quot;HTTP_CLIENT_IP&quot;];
}else{
$ip = $_SERVER[&quot;REMOTE_ADDR&quot;];
}
}else{
if(getenv(&#039;HTTP_X_FORWARDED_FOR&#039;)){
$ip = getenv(&#039;HTTP_X_FORWARDED_FOR&#039;);
if(strpos($ip,&quot;,&quot;)){
$exp_ip=explode(&quot;,&quot;,$ip);
$ip = $exp_ip[0];
}
}else if(getenv(&#039;HTTP_CLIENT_IP&#039;)){
$ip = getenv(&#039;HTTP_CLIENT_IP&#039;);
}else {
$ip = getenv(&#039;REMOTE_ADDR&#039;);
}
}
return $ip; 
}]]></description>
		<content:encoded><![CDATA[<p>I think this function also help to find real IP address.<br />
function getrealip()<br />
{<br />
 if (isset($_SERVER)){<br />
if(isset($_SERVER[&#8220;HTTP_X_FORWARDED_FOR&#8221;])){<br />
$ip = $_SERVER[&#8220;HTTP_X_FORWARDED_FOR&#8221;];<br />
if(strpos($ip,&#8221;,&#8221;)){<br />
$exp_ip = explode(&#8220;,&#8221;,$ip);<br />
$ip = $exp_ip[0];<br />
}<br />
}else if(isset($_SERVER[&#8220;HTTP_CLIENT_IP&#8221;])){<br />
$ip = $_SERVER[&#8220;HTTP_CLIENT_IP&#8221;];<br />
}else{<br />
$ip = $_SERVER[&#8220;REMOTE_ADDR&#8221;];<br />
}<br />
}else{<br />
if(getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;)){<br />
$ip = getenv(&#8216;HTTP_X_FORWARDED_FOR&#8217;);<br />
if(strpos($ip,&#8221;,&#8221;)){<br />
$exp_ip=explode(&#8220;,&#8221;,$ip);<br />
$ip = $exp_ip[0];<br />
}<br />
}else if(getenv(&#8216;HTTP_CLIENT_IP&#8217;)){<br />
$ip = getenv(&#8216;HTTP_CLIENT_IP&#8217;);<br />
}else {<br />
$ip = getenv(&#8216;REMOTE_ADDR&#8217;);<br />
}<br />
}<br />
return $ip;<br />
}</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: javulani chauke				</title>
				<link>https://www.techplusme.com/get-real-client-ip-address-php/#comment-27026</link>
		<dc:creator><![CDATA[javulani chauke]]></dc:creator>
		<pubDate>Sat, 29 Aug 2015 17:37:51 +0000</pubDate>
		<guid isPermaLink="false">https://www.techplusme.com/?p=1289#comment-27026</guid>
					<description><![CDATA[doing good]]></description>
		<content:encoded><![CDATA[<p>doing good</p>
]]></content:encoded>
						</item>
			</channel>
</rss>
