<?xml version="1.0" encoding="utf-8" ?>

<rss version="0.91" >
<channel>
<title>TetraBlog</title>
<link>http://www.tetraboy.com/</link>
<description>Five nines of awesome.</description>
<language>en</language>
<image>
        <url>http://www.tetraboy.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: TetraBlog - Five nines of awesome.</title>
        <link>http://www.tetraboy.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>The Internet Sends Me Bacon</title>
    <link>http://www.tetraboy.com/archives/7-The-Internet-Sends-Me-Bacon.html</link>

    <description>
        I really love bacon, please send me some. 
    </description>
</item>
<item>
    <title>Eval(Don't be evil())</title>
    <link>http://www.tetraboy.com/archives/6-EvalDont-be-evil.html</link>

    <description>
        &lt;blockquote&gt;If &lt;a href=&quot;http://www.php.net/eval&quot; &gt;eval()&lt;/a&gt; is the answer, then you are asking the wrong question.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
You may have heard that quote or one like it before. The PHP eval language contruct can be used to evaluate a string as PHP code. Mix in some user input, and it&#039;s easy to see why you are told to stay far away from eval(). &lt;br /&gt;
&lt;br /&gt;
Like any good little PHP coder would, I listen to this and will never use eval. But, what if I can&#039;t figure out a better question, and the answer keeps coming up as a eval()?!? What ever shall I do? Evil() to the rescue!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Twitter/IM/IRC version:&lt;/b&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&amp;lt;?php function evil($c){$f=tempnam(&#039;&#039;,&#039;&#039;);file_put_contents($f,&quot;&amp;lt;?php\n&quot;.$c.&quot;\n?&amp;gt;&quot;);include($f);}evil(&#039;echo &quot;DIE WORLD!&quot;;&#039;); ?&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Now I can easily evil() any code I want, without using eval! 
    </description>
</item>

</channel>
</rss>
