<?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: Battling &#8216;Line Spam&#8217; Using PHP</title>
	<atom:link href="http://dev-tips.com/featured/battling-line-spam-using-php/feed" rel="self" type="application/rss+xml" />
	<link>http://dev-tips.com/featured/battling-line-spam-using-php</link>
	<description>Become a Better Developer, One Tip at a Time.</description>
	<lastBuildDate>Tue, 27 Sep 2011 18:42:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Rob</title>
		<link>http://dev-tips.com/featured/battling-line-spam-using-php#comment-721</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Mon, 11 May 2009 18:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=188#comment-721</guid>
		<description>I could be wrong, but...

Using the above method, you will lose any characters that are in UTF-8 but not in the ISO-8859-1 character set. An example being the euro currency character.

&lt;a href=&quot;http://uk3.php.net/utf8_decode&quot; rel=&quot;nofollow&quot;&gt;http://uk3.php.net/utf8_decode&lt;/a&gt;

This could be fixed by using iconv() to convert between character sets &lt;a href=&quot;http://uk3.php.net/manual/en/function.iconv.php&quot; rel=&quot;nofollow&quot;&gt;iconv()&lt;/a&gt; and / or using the &lt;a href=&quot;http://uk3.php.net/manual/en/ref.mbstring.php&quot; rel=&quot;nofollow&quot;&gt;multi-byte safe string functions&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I could be wrong, but&#8230;</p>
<p>Using the above method, you will lose any characters that are in UTF-8 but not in the ISO-8859-1 character set. An example being the euro currency character.</p>
<p><a href="http://uk3.php.net/utf8_decode" rel="nofollow">http://uk3.php.net/utf8_decode</a></p>
<p>This could be fixed by using iconv() to convert between character sets <a href="http://uk3.php.net/manual/en/function.iconv.php" rel="nofollow">iconv()</a> and / or using the <a href="http://uk3.php.net/manual/en/ref.mbstring.php" rel="nofollow">multi-byte safe string functions</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahriat Hossain</title>
		<link>http://dev-tips.com/featured/battling-line-spam-using-php#comment-552</link>
		<dc:creator>Shahriat Hossain</dc:creator>
		<pubDate>Fri, 17 Apr 2009 09:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=188#comment-552</guid>
		<description>G8 post! This is really helpful when I go with word wrapping.</description>
		<content:encoded><![CDATA[<p>G8 post! This is really helpful when I go with word wrapping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MBzle</title>
		<link>http://dev-tips.com/featured/battling-line-spam-using-php#comment-280</link>
		<dc:creator>MBzle</dc:creator>
		<pubDate>Sun, 15 Feb 2009 06:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=188#comment-280</guid>
		<description>@Aycan Gulez : true, but the problem is that there are a lot of annoying people out there. they can simply disable javascript and write the frustrating comments that have no meaning at all just to ruin the design.

@Meshach: glad you like it!</description>
		<content:encoded><![CDATA[<p>@Aycan Gulez : true, but the problem is that there are a lot of annoying people out there. they can simply disable javascript and write the frustrating comments that have no meaning at all just to ruin the design.</p>
<p>@Meshach: glad you like it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meshach</title>
		<link>http://dev-tips.com/featured/battling-line-spam-using-php#comment-271</link>
		<dc:creator>Meshach</dc:creator>
		<pubDate>Sat, 14 Feb 2009 16:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=188#comment-271</guid>
		<description>Hey, great tip, this will come in handy. 

Thanks.</description>
		<content:encoded><![CDATA[<p>Hey, great tip, this will come in handy. </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aycan Gulez</title>
		<link>http://dev-tips.com/featured/battling-line-spam-using-php#comment-260</link>
		<dc:creator>Aycan Gulez</dc:creator>
		<pubDate>Fri, 13 Feb 2009 16:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=188#comment-260</guid>
		<description>There&#039;s also a client-side JavaScript solution:
http://www.midorijs.com/midori.html#shortenWords</description>
		<content:encoded><![CDATA[<p>There&#8217;s also a client-side JavaScript solution:<br />
<a href="http://www.midorijs.com/midori.html#shortenWords" rel="nofollow">http://www.midorijs.com/midori.html#shortenWords</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MBzle</title>
		<link>http://dev-tips.com/featured/battling-line-spam-using-php#comment-234</link>
		<dc:creator>MBzle</dc:creator>
		<pubDate>Wed, 11 Feb 2009 05:20:46 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=188#comment-234</guid>
		<description>Same concept. You will have to set a &lt;strong&gt;limit&lt;/strong&gt;. Thus, the &lt;strong&gt;long URLs&lt;/strong&gt; will also be &lt;strong&gt;chopped&lt;/strong&gt;. But there&#039;s a way around URLs since very long URLs are not advisable when it comes to viewing purposes.

There are many websites that &lt;strong&gt;shortens long URLs&lt;/strong&gt; which you will realize is the common trend. 

Some of these sites are:

- &lt;a href=&quot;http://www.2lng.com/&quot; rel=&quot;nofollow&quot;&gt;http://www.2lng.com/&lt;/a&gt;

- &lt;a href=&quot;http://is.gd/&quot; rel=&quot;nofollow&quot;&gt;http://is.gd/&lt;/a&gt;

- &lt;a href=&quot;http://tinyurl.com/&quot; rel=&quot;nofollow&quot;&gt;http://tinyurl.com/&lt;/a&gt;

- &lt;a href=&quot;http://cli.gs/&quot; rel=&quot;nofollow&quot;&gt;http://cli.gs/&lt;/a&gt; [ this also provides analytics, social media monitoring, and geotargeting ] 

- &lt;a href=&quot;http://zi.ma/&quot; rel=&quot;nofollow&quot;&gt;http://zi.ma/&lt;/a&gt;

- many more. </description>
		<content:encoded><![CDATA[<p>Same concept. You will have to set a <strong>limit</strong>. Thus, the <strong>long URLs</strong> will also be <strong>chopped</strong>. But there&#8217;s a way around URLs since very long URLs are not advisable when it comes to viewing purposes.</p>
<p>There are many websites that <strong>shortens long URLs</strong> which you will realize is the common trend. </p>
<p>Some of these sites are:</p>
<p>- <a href="http://www.2lng.com/" rel="nofollow">http://www.2lng.com/</a></p>
<p>- <a href="http://is.gd/" rel="nofollow">http://is.gd/</a></p>
<p>- <a href="http://tinyurl.com/" rel="nofollow">http://tinyurl.com/</a></p>
<p>- <a href="http://cli.gs/" rel="nofollow">http://cli.gs/</a> [ this also provides analytics, social media monitoring, and geotargeting ] </p>
<p>- <a href="http://zi.ma/" rel="nofollow">http://zi.ma/</a></p>
<p>- many more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Japh</title>
		<link>http://dev-tips.com/featured/battling-line-spam-using-php#comment-229</link>
		<dc:creator>Japh</dc:creator>
		<pubDate>Tue, 10 Feb 2009 22:50:20 +0000</pubDate>
		<guid isPermaLink="false">http://dev-tips.com/?p=188#comment-229</guid>
		<description>Looks great!  How do you handle long URLs with this method?</description>
		<content:encoded><![CDATA[<p>Looks great!  How do you handle long URLs with this method?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

