<?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>MachForm Community Forums Topic: Ban IP Address(es)</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Ban IP Address(es)</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:07:51 +0000</pubDate>

<item>
<title>yuniar on "Ban IP Address(es)"</title>
<link>https://www.machform.com/forums/topic/ban-ip-addresses#post-18867</link>
<pubDate>Wed, 31 Jul 2013 18:40:45 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18867@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;We haven't received many requests regarding this functionality but we'll keep an eye on this.
&#60;/p&#62;</description>
</item>
<item>
<title>webcat on "Ban IP Address(es)"</title>
<link>https://www.machform.com/forums/topic/ban-ip-addresses#post-18835</link>
<pubDate>Sat, 27 Jul 2013 19:58:30 +0000</pubDate>
<dc:creator>webcat</dc:creator>
<guid isPermaLink="false">18835@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Just tested this, and there &#34;Is&#34; a slight distinction, when using the block code, the form is submitted and no success message is displayed. This may alert spammers who have already been submitting spam, and &#34;seeing&#34;  the success message, to the fact something is being used, because now they &#34;dont see&#34; the success message.
&#60;/p&#62;</description>
</item>
<item>
<title>webcat on "Ban IP Address(es)"</title>
<link>https://www.machform.com/forums/topic/ban-ip-addresses#post-18834</link>
<pubDate>Sat, 27 Jul 2013 19:40:52 +0000</pubDate>
<dc:creator>webcat</dc:creator>
<guid isPermaLink="false">18834@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Wow, you guys should implement this in the form settings so we dont have to code each form we want to block ips on? I really could use that feature and think it would go a long way towards the benefit of our forms. Would you think about it? Til then, I will use this work around, but I have a LOT of forms I will have to edit the &#34;includes/post-functions.php&#34; file on....:o(
&#60;/p&#62;</description>
</item>
<item>
<title>tdcl on "Ban IP Address(es)"</title>
<link>https://www.machform.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@https://www.machform.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>https://www.machform.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@https://www.machform.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>https://www.machform.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@https://www.machform.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>
