<?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: Simple Swear/Badword Filtering tutorial</title>
	<atom:link href="http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/</link>
	<description>the place where all my code can be viewed</description>
	<lastBuildDate>Wed, 28 Jul 2010 00:19:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Raphael</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-11933</link>
		<dc:creator>Raphael</dc:creator>
		<pubDate>Wed, 28 Jul 2010 00:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-11933</guid>
		<description>Hello Arkin, how are you?
Can you post again the file swearword-censor.phps to download?</description>
		<content:encoded><![CDATA[<p>Hello Arkin, how are you?<br />
Can you post again the file swearword-censor.phps to download?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mel S</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-8576</link>
		<dc:creator>Mel S</dc:creator>
		<pubDate>Sat, 03 Oct 2009 14:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-8576</guid>
		<description>Excellent snippet of code.  Saved me a bit off effort.  I congratulate you on the simplicity</description>
		<content:encoded><![CDATA[<p>Excellent snippet of code.  Saved me a bit off effort.  I congratulate you on the simplicity</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-5247</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Fri, 12 Dec 2008 23:31:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-5247</guid>
		<description>It doesn&#039;t work at all for me :\</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t work at all for me :\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arkin</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-3159</link>
		<dc:creator>arkin</dc:creator>
		<pubDate>Sun, 14 Sep 2008 23:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-3159</guid>
		<description>Graham:

$sql = “SELECT word FROM censor_words”;
//Or whatever your table/field is called
$result = mysql_query($sql);

if ($result &#124;&#124; mysql_num_rows()&gt;0)
while (list($word) = mysql_fetch_row())
$censor_words[] = $word;

This would put all of the words in censor words.</description>
		<content:encoded><![CDATA[<p>Graham:</p>
<p>$sql = “SELECT word FROM censor_words”;<br />
//Or whatever your table/field is called<br />
$result = mysql_query($sql);</p>
<p>if ($result || mysql_num_rows()>0)<br />
while (list($word) = mysql_fetch_row())<br />
$censor_words[] = $word;</p>
<p>This would put all of the words in censor words.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arkin</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-3158</link>
		<dc:creator>arkin</dc:creator>
		<pubDate>Sun, 14 Sep 2008 23:51:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-3158</guid>
		<description>This may be due to your PHP settings tlehman, can you provide me more specific examples?</description>
		<content:encoded><![CDATA[<p>This may be due to your PHP settings tlehman, can you provide me more specific examples?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tlehman</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-3000</link>
		<dc:creator>tlehman</dc:creator>
		<pubDate>Mon, 08 Sep 2008 14:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-3000</guid>
		<description>Nice Work. When I implement this code its only catching the first swear word in the sentence. If someone happens to have a sailor&#039;s mouth, its not going to help. Any ideas?</description>
		<content:encoded><![CDATA[<p>Nice Work. When I implement this code its only catching the first swear word in the sentence. If someone happens to have a sailor&#8217;s mouth, its not going to help. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JCMC</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-2224</link>
		<dc:creator>JCMC</dc:creator>
		<pubDate>Fri, 08 Aug 2008 07:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-2224</guid>
		<description>I tried the filter. Its not that great because you can cheat it by simply playing around with the capitalization.</description>
		<content:encoded><![CDATA[<p>I tried the filter. Its not that great because you can cheat it by simply playing around with the capitalization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-1018</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 15 May 2008 02:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-1018</guid>
		<description>I have been working on a comprehensive swear filter for quite some time, this is a great start to eliminating some words based off a list but there are so many more ways to cheat the filter using special characters. 

I have made a filter that scrubs the string several times and compares based on filters and punctuation, it is working quite well now, almost impossible to get anything through and the word list is only about 20 words long.</description>
		<content:encoded><![CDATA[<p>I have been working on a comprehensive swear filter for quite some time, this is a great start to eliminating some words based off a list but there are so many more ways to cheat the filter using special characters. </p>
<p>I have made a filter that scrubs the string several times and compares based on filters and punctuation, it is working quite well now, almost impossible to get anything through and the word list is only about 20 words long.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Macleod</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-1000</link>
		<dc:creator>Graham Macleod</dc:creator>
		<pubDate>Fri, 09 May 2008 09:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-1000</guid>
		<description>To make it run from a mysql DB, change the code in the 1st if statement to something like...


$sql = &quot;SELECT words FROM censor_table&quot;; //Or whatever your table/field is called
$result = mysql_query($sql);
$censor_words = mysql_fetch_array($result);


Not tested.</description>
		<content:encoded><![CDATA[<p>To make it run from a mysql DB, change the code in the 1st if statement to something like&#8230;</p>
<p>$sql = &#8220;SELECT words FROM censor_table&#8221;; //Or whatever your table/field is called<br />
$result = mysql_query($sql);<br />
$censor_words = mysql_fetch_array($result);</p>
<p>Not tested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arkin</title>
		<link>http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/comment-page-1/#comment-777</link>
		<dc:creator>arkin</dc:creator>
		<pubDate>Thu, 27 Mar 2008 13:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.arkinex.com/php/tutorials/15/simple-swear-filter-tutorial/#comment-777</guid>
		<description>@6: I emailed you this reponse also:

It is possible to convert this to run from a mysql database/table instead of a text file by simply loading the mysql table into the swear words array instead of the text file.</description>
		<content:encoded><![CDATA[<p>@6: I emailed you this reponse also:</p>
<p>It is possible to convert this to run from a mysql database/table instead of a text file by simply loading the mysql table into the swear words array instead of the text file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
