		<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Appnitro Software Forums Topic: Ban IP Address(es)</title>
<link>http://www.appnitro.com/forums/</link>
<description>Appnitro Software Forums Topic: Ban IP Address(es)</description>
<language>en</language>
<pubDate>Wed, 08 Feb 2012 07:25:39 +0000</pubDate>

<item>
<title>tdcl on "Ban IP Address(es)"</title>
<link>http://www.appnitro.com/forums/topic/ban-ip-addresses#post-9827</link>
<pubDate>Thu, 01 Jul 2010 15:58:40 +0000</pubDate>
<dc:creator>tdcl</dc:creator>
<guid isPermaLink="false">9827@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;This is brilliant, exactly what I need.&#60;/p&#62;
&#60;p&#62;Thank you very much.
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Ban IP Address(es)"</title>
<link>http://www.appnitro.com/forums/topic/ban-ip-addresses#post-9826</link>
<pubDate>Thu, 01 Jul 2010 15:32:13 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">9826@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Yes, this is possible.&#60;/p&#62;
&#60;p&#62;All you need to do is to modify your &#34;includes/post-functions.php&#34; file.&#60;br /&#62;
Around line 10, you'll see this line of code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function process_form($input){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;exactly below that code, add this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$banned_ip_address = array(&#38;#39;192.168.0.1&#38;#39;,&#38;#39;192.168.0.2&#38;#39;,&#38;#39;192.168.0.3&#38;#39;);

if(in_array($_SERVER[&#38;#39;REMOTE_ADDR&#38;#39;],$banned_ip_address)){
	$process_result[&#38;#39;status&#38;#39;] = true;
	return $process_result;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;the above code will block 3 ip address as listed there.&#60;/p&#62;
&#60;p&#62;This method uses &#34;silent ip blocking&#34;, which means the person will still be able to submit the form, but their entries won't be saved into the database and won't be sent to email.&#60;/p&#62;
&#60;p&#62;This way, they won't even notice that they are currently being blocked. Thus preventing them from changing their ip address
&#60;/p&#62;</description>
</item>
<item>
<title>tdcl on "Ban IP Address(es)"</title>
<link>http://www.appnitro.com/forums/topic/ban-ip-addresses#post-9825</link>
<pubDate>Thu, 01 Jul 2010 15:14:12 +0000</pubDate>
<dc:creator>tdcl</dc:creator>
<guid isPermaLink="false">9825@http://www.appnitro.com/forums/</guid>
<description>&#60;p&#62;Hi, sorry if this has been answered before. However, I have a simple form which has Captcha, yet there are a few people who dont mind wasting their time filling in 'spam' and then sending it on. I dont want to limit it to one submission per person as there could be people who use the same IP address, or within a group.&#60;/p&#62;
&#60;p&#62;My 'coding' skills are limited, yet is there anywhere in the code that I can put individual IP adresses so they dont reach me, or are blocked?&#60;/p&#62;
&#60;p&#62;Thanks for your help.
&#60;/p&#62;</description>
</item>

</channel>
</rss>

