<?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: Client IP Behind Proxy</title>
		<link>https://legacy.forums.gravityhelp.com/topic/client-ip-behind-proxy</link>
		<description>Gravity Support Forums Topic: Client IP Behind Proxy</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 14:17:45 +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/client-ip-behind-proxy" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Client IP Behind Proxy"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/client-ip-behind-proxy#post-72553</link>
			<pubDate>Sat, 25 Aug 2012 08:18:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72553@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You have access to all the HTTP headers in the request.  It's not stored automatically, but you can grab it and store it if you need to.  Here is how you can grab it:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$headers = apache_request_headers();
$real_client_ip = $headers[&#38;quot;X-Forwarded-For&#38;quot;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could add a hidden field in your form to store the IP address.  Check the box to &#34;Allow field to be populated dynamically.&#34;  Then grab the value and store it in that field using the gform_field_value_$parameter_name filter.  If you gave the field a parameter name of &#34;real_client_ip&#34; your filter would be called gform_field_value_real_client_ip.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;More about populating a field dynamically:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Allow_field_to_be_populated_dynamically&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Allow_field_to_be_populated_dynamically&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;After you make your purchase, let us know if you need more help with implementation.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>KieranW on "Client IP Behind Proxy"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/client-ip-behind-proxy#post-72548</link>
			<pubDate>Sat, 25 Aug 2012 04:48:48 +0000</pubDate>
			<dc:creator>KieranW</dc:creator>
			<guid isPermaLink="false">72548@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I want to purchase Gravity Forms, it looks like an amazing plugin, but I'm wondering if it can accurately detect the correct client IP address. My webserver is behind a load balancer, so the regular client IP will be that of the load balancer. The load balancer does add the standard &#34;forwarded-for&#34; HTTP header with the clients IP address, so it's very simple to get this information. Does Gravity Forms fetch the right client IP address automatically, or is this not supported? It's very important for my usage of Gravity Forms, or any other form plugin, that it can correctly log the true client IP address.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
