<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 14:11:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PerishablePress.com: Encoding & Decoding PHP Code]]></title>
      <guid>http://www.phpdeveloper.org/news/18065</guid>
      <link>http://www.phpdeveloper.org/news/18065</link>
      <description><![CDATA[<p>
On the PerishablePress.com site there's a recent article showing you how to <a href="http://perishablepress.com/encoding-decoding-php/">encode your PHP project's code</a> (though some of the methods are more obfuscation than actual encryption).
</p>
<blockquote>
There are many ways to encode and decode PHP code. From the perspective of site security, there are three PHP functions - str_rot13(), base64_encode(), and gzinflate - that are frequently used to obfuscate malicious strings of PHP code. For those involved in the securing of websites, understanding how these functions are used to encode and decode encrypted chunks of PHP data is critical to accurate monitoring and expedient attack recovery.
</blockquote>
<p>
They show examples of several methods of encoding/obfuscation of the code including <a href="http://perishablepress.com/encoding-decoding-php/#str_rot13">rot13</a>, <a href="http://perishablepress.com/encoding-decoding-php/#base64_encode">base64</a>, <a href="http://perishablepress.com/encoding-decoding-php/#gzdeflate">gzinflate/gzdeflate</a> and links to some <a href="http://perishablepress.com/encoding-decoding-php/#tools">other</a> <a href="http://perishablepress.com/encoding-decoding-php/#resources">resources</a>. 
</p>]]></description>
      <pubDate>Fri, 08 Jun 2012 10:56:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeForest.net: Obfuscate your e-mail address with PHP, JavaScript and CSS]]></title>
      <guid>http://www.phpdeveloper.org/news/17046</guid>
      <link>http://www.phpdeveloper.org/news/17046</link>
      <description><![CDATA[<p>
A new post on CodeForest.net today gives you a technique for <a href="http://www.codeforest.net/obfuscate-your-email-address-with-php-javascript-and-css">obfuscating email addresses</a> with a combination of PHP, CSS and Javascript. It uses ROT13 for the obfuscation and some tricky CSS to keep it usable for the human visitors.
</p>
<blockquote>
According to <a href="http://en.wikipedia.org/wiki/E-mail_spam#Statistics_and_estimates">Wikipedia</a>, more than 97% of all e-mails sent over the net are unwanted. That's around 200 billion spam messages per day. To keep this insane amount of spam out of your inbox, you should keep your e-mail safe when you display it on web. One of the ways to keep it safe is to obfuscate it. In this tutorial I'll show you how to create a script that will do just that.
</blockquote>
<p>
<a href="http://www.codeforest.net/demo/obfuscateEmailAddress.rar">The script</a> converts the email address into a <a href="http://en.wikipedia.org/wiki/ROT13">ROT13 obfuscated</a> versions and reverse it. The spam bots harvesting addresses won't see it as a valid format but the user, thanks to some CSS rules, will see it and be able to copy it easily. Each part of the script is explained in <a href="http://www.codeforest.net/obfuscate-your-email-address-with-php-javascript-and-css">the post</a> and you can see a <a href="http://www.codeforest.net/demo/obfuscateEmailAddress/demo.php">demo of it in action here</a>.
</p>]]></description>
      <pubDate>Wed, 26 Oct 2011 12:39:01 -0500</pubDate>
    </item>
  </channel>
</rss>
