<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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">
	<channel>
		<title>Gravity Support Forums Topic: Pb ip merge Tag</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pb-ip-merge-tag</link>
		<description>Gravity Support Forums Topic: Pb ip merge Tag</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 06:33:53 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/pb-ip-merge-tag" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Pb ip merge Tag"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pb-ip-merge-tag#post-89340</link>
			<pubDate>Fri, 09 Nov 2012 16:06:27 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">89340@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you were able to figure it out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>contact@so-xperts.com on "Pb ip merge Tag"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pb-ip-merge-tag#post-89213</link>
			<pubDate>Fri, 09 Nov 2012 10:50:45 +0000</pubDate>
			<dc:creator>contact@so-xperts.com</dc:creator>
			<guid isPermaLink="false">89213@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It was a problem with the ngnix server parameters at the host level it is now working fine. it was sending the local ip of the server.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pb ip merge Tag"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pb-ip-merge-tag#post-81638</link>
			<pubDate>Wed, 17 Oct 2012 06:37:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81638@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;10.10.1.85 is in a private/non-routable IP block.  This is something specific to your host, like requests to your Gravity Form are always coming through that machine, as a proxy would, which makes it appear that all requests are from that address.  The fact that you get the correct IP address in the right sidebar is interesting.  So, they must be coming from different places.&#60;/p&#62;
&#60;p&#62;Here is the code from two different files:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[php]
// entry_detail.php
&#38;lt;?php _e(&#38;quot;User IP&#38;quot;, &#38;quot;gravityforms&#38;quot;); ?&#38;gt;: &#38;lt;?php echo $lead[&#38;quot;ip&#38;quot;] ?&#38;gt;

// forms_model.php
public static function get_ip(){
	$ip = rgget(&#38;quot;HTTP_X_FORWARDED_FOR&#38;quot;, $_SERVER);
	if (!$ip)
		$ip = rgget(&#38;quot;REMOTE_ADDR&#38;quot;, $_SERVER);

	$ip_array = explode(&#38;quot;,&#38;quot;, $ip); //HTTP_X_FORWARDED_FOR can return a comma separated list of IPs. Using the first one.
	return $ip_array[0];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Based on that, I think we need to see a dump of the $_SERVER variables to know why a different IP address is being stored in each location.  If we can figure out which SERVER variable holds the correct IP address, maybe we can store the correct one in your hidden field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>contact@so-xperts.com on "Pb ip merge Tag"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pb-ip-merge-tag#post-81622</link>
			<pubDate>Wed, 17 Oct 2012 05:59:14 +0000</pubDate>
			<dc:creator>contact@so-xperts.com</dc:creator>
			<guid isPermaLink="false">81622@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, thanks for your quick answer&#60;br /&#62;
I have setup a test page :&#60;br /&#62;
And when I fill in the page this is what I get this : &#60;a href=&#34;http://i.minus.com/iXGM2fa9UcUBA.png&#34; rel=&#34;nofollow&#34;&#62;http://i.minus.com/iXGM2fa9UcUBA.png&#60;/a&#62;&#60;br /&#62;
As you can see I always get the same ip on my hidden field : 10.10.1.185&#60;br /&#62;
Nothing of very unique I use also the gravity plugin for salesforce and I'm testing the info geniuz plugin but get the same results without this plugin.&#60;/p&#62;
&#60;p&#62;This is the link to the test page : &#60;a href=&#34;http://www.so-xperts.com/test-gravity-forms/&#34; rel=&#34;nofollow&#34;&#62;http://www.so-xperts.com/test-gravity-forms/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks for your help.&#60;/p&#62;
&#60;p&#62;Regards.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Pb ip merge Tag"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pb-ip-merge-tag#post-81383</link>
			<pubDate>Tue, 16 Oct 2012 08:18:43 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81383@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I did just what you said, added a hidden field with the merge tag {ip}. Screenshot: &#60;a href=&#34;http://minus.com/lGI5hukkTeVBQ&#34; rel=&#34;nofollow&#34;&#62;http://minus.com/lGI5hukkTeVBQ&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That was not my experience at all.  The notification comes with the correct IP address, the entry lists the correct IP and the entry view in the admin shows the same address on the right and in the entry.  &#60;/p&#62;
&#60;p&#62;Can you provide any additional information about the IP addresses you are seeing?  Any sort of proxies involved or anything unique about the submissions?&#60;/p&#62;
&#60;p&#62;Can you post a link to the form so we can test it and check the IP address which is recorded in the entry and displayed on the right side?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>contact@so-xperts.com on "Pb ip merge Tag"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pb-ip-merge-tag#post-81341</link>
			<pubDate>Tue, 16 Oct 2012 03:35:38 +0000</pubDate>
			<dc:creator>contact@so-xperts.com</dc:creator>
			<guid isPermaLink="false">81341@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I have been using gravity forms on my site for more than an year and always worked fine. I have linked my salesforce with gravity forms so that gravity can populate my leads in salesforce automatically.&#60;br /&#62;
Yesterday I wanted to get more info, I wanted to get the user ip by using a hidden field and using a merge type {ip}. But i never get the good Ip and what is even stranger is that when I look the message I see that I haven't got the good ip and when I look on the right column on the info I see that he has got the right IP.&#60;br /&#62;
Do you know why I have this problem ?&#60;br /&#62;
Regards.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
