<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><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>byteMyCode: Snippets for entities</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Tue, 07 Oct 2008 02:33:48 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>HTML Entitize any string</title>
	<link>http://www.bytemycode.com/snippets/snippet/335/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/335/comments/</comments>
	<pubDate>Wed, 30 Aug 2006 05:06:20 +0000</pubDate>
	<dc:creator>dohpaz</dc:creator>
	<category>entities, HTML, PHP</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/335/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Wed. Aug. 30th, 2006  5:06 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/335/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/dohpaz/" title="Helper">dohpaz</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/entities">entities</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/HTML">HTML</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/PHP">PHP</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/335/comments/">2 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 12
			<p>This function is useful in helping to deter spam bots by obfuscating things such as e-mail addresses and URLs that are displayed on a web page. While it's not 100% fool proof, it does offer some protection.<br /><br />Example:<br />$email = html_entitize('foo@baz.org');<br />/*<br />Outputs &amp;#x66;&amp;#111;&amp;#111;&amp;#x40;&amp;#98;&amp;#x61;&amp;#x7a;&amp;#x2e;&amp;#99;&amp;#111;&amp;#109;<br />*/</p>
		]]>
	</description>
</item>
	</channel>
</rss>