<?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>Thu, 15 May 2008 23:35:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Christopher Kunz's Blog: PHPShield, SourceGuardian and Inovica Ltd.]]></title>
      <guid>http://www.phpdeveloper.org/news/10025</guid>
      <link>http://www.phpdeveloper.org/news/10025</link>
      <description><![CDATA[<p>
<i>Christopher Kunz</i> has <a href="http://www.christopher-kunz.de/archives/158-PHPShield,-SourceGuardian-and-Inovica-Ltd..html">shared about</a> a resource he came across that offers complete PHP encoding for a much lower price than some of the other services - <a href="http://ww.phpshield.com">phpshield.com</a>. It seems a little too good to be true, though:
</p>
<blockquote>
However, the phpShield.com home page did not offer the slightest clue who actually is behind that product. [...] It's common practice to whitelabel your solutions and sell them under different brands with different feature sets to different target audiences. However, we always clearly state who is behind the whitelabelled solution.
</blockquote>
<p>
A little more digging shows an interesting relationship between the company that sells SourceGuardian and the company behind this PHPShield (Inovica). He sees the deception counting against the company and has just "struck one off the list" from his search for encoding methods.
</p>]]></description>
      <pubDate>Wed, 23 Apr 2008 12:58:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: Mini-Review: Zend Guard vs IonCube PHP Encoder]]></title>
      <guid>http://www.phpdeveloper.org/news/9832</guid>
      <link>http://www.phpdeveloper.org/news/9832</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> has done a <a href="http://pixelated-dreams.com/archives/348-Mini-Review-Zend-Guard-vs-IonCube-PHP-Encoder.html">mini-review</a> comparing the <a href="http://www.zend.com/en/products/guard/">Zend Guard</a> software with a similar offering from IonCube, <a href="http://www.ioncube.com/sa_encoder.php">IonCube Encoder</a> to help protect your PHP applications.
</p>
<blockquote>
For the last several years, we have been successfully using the IonCube PHP encoder. It works well, providing us with as secure a solution as we could wish for, for our code. [...] Due to the amount of head pounding involved in finding this issue [where IonCube was removing a valid logic branch], I started to consider using <a href="http://www.zend.com/en/products/guard/">Zend Guard</a> instead, figuring that Zend has far more resources and more experience in this arena, we might see less issues.
</blockquote>
<p>
He <a href="http://pixelated-dreams.com/archives/348-Mini-Review-Zend-Guard-vs-IonCube-PHP-Encoder.html">details</a> their upgrade process including comments on the included GUI and how it "just works" (once it's set up)
</p>]]></description>
      <pubDate>Thu, 20 Mar 2008 12:53:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: I called Zend_Json::encode(), so WTH are all my properties?]]></title>
      <guid>http://www.phpdeveloper.org/news/9687</guid>
      <link>http://www.phpdeveloper.org/news/9687</link>
      <description><![CDATA[<p>
In dealing with a little JSON encoding and objects in a project of his recently, <i>Cal Evans</i> <a href="http://blog.calevans.com/2008/02/21/zend_jsonencode-and-wth-are-all-my-properties/">bumped against a problem</a> when he was encoding an object and moving it back and forth between the back and front ends.
</p>
<blockquote>
The problem is simple, JSON encode a PHP object and send it back to the front end. Sounds simple and the last 100 times I wrote this code it was simple. This time, I was too smart for my own good. Here's the scenario.
</blockquote>
<p>
He illustrates his problem - the "dropping" of properties somewhere along the way - with a sample class that encodes the object and sends it along. He missed one key bit of information, though. His protected array of properties wasn't getting passed back out correctly and we're in the resulting JSON message. A quick hack of a getProperties() function call made this problem a thing of the past.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 12:10:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Web Services Blog: Payload the Way You Want with PHP5 built-in SOAP]]></title>
      <guid>http://www.phpdeveloper.org/news/9531</guid>
      <link>http://www.phpdeveloper.org/news/9531</link>
      <description><![CDATA[<p>
The PHP Web Services blog has a <a href="http://phpwebservices.blogspot.com/2008/01/payload-way-you-want-with-php5-built-in.html">helpful hint</a> on getting a custom SOAP request all ready to go:
</p>
<blockquote>
How do you get this [custom] XML to be output by the SoapClient?
</blockquote>
<p>
Using the SoapVar method and a few newly created objects, making a custom structure is simple. It's just a matter of encoding the object and setting it with the base() method in the <a href="http://www.php.net/soap">PHP SOAP extension</a>. Check out <a href="http://phpwebservices.blogspot.com/2008/01/payload-way-you-want-with-php5-built-in.html">the blog post</a> for an example of both the custom XML and the code to produce it.
</p>]]></description>
      <pubDate>Wed, 30 Jan 2008 15:00:31 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[ProDevTips.com: HTML entity encoding everything]]></title>
      <guid>http://www.phpdeveloper.org/news/9529</guid>
      <link>http://www.phpdeveloper.org/news/9529</link>
      <description><![CDATA[<p>
On the ProDevTips site, <i>Henrik</i> has pointed out <a href="http://www.greywyvern.com/php">a handy application</a> that can make HTML encoding characters outside the norm in PHP simple.
</p>
<blockquote>
The standard htmlentities() function will encode special characters so that they display OK in the browser. However, sometimes you might want to encode different languages to entities too. I just found a script that will do that in the form of an <a href="http://www.greywyvern.com/php">html encode application</a>.
</blockquote>
<p>
He <a href="http://www.prodevtips.com/2008/01/30/html-entity-encoding-everything/">includes an example</a> showing how to encode a string of non-english characters out to an easy-to-display HTMLified string.
</p>]]></description>
      <pubDate>Wed, 30 Jan 2008 12:57:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Protecting Your PHP Code]]></title>
      <guid>http://www.phpdeveloper.org/news/8302</guid>
      <link>http://www.phpdeveloper.org/news/8302</link>
      <description><![CDATA[<p>
In a <a href="http://www.littlehart.net/atthekeyboard/2007/07/20/protecting-your-php-code/">new post</a> to his blog, <i>Chris Hartjes</i>, spurred on by an article in the latest edition of php|architect magazine (covering protecting your code), has shared a few opinions starting with a certain paragraph near the end.
</p>
<blockquote>
To start, I will focus on the paragraph above. What I get out of that is that if only your source was closed and hidden from prying eyes, it would not have bugs in it. Which is, of course, total nonsense. Code has bugs because it's open and they feel safer? There are two kinds of bugs: application bugs (which is the code I would write) and system bugs (in this case, bugs that that appear from PHP itself). I'm sorry, but there is nothing I can do if there is a bug in PHP that causes my application to crash except to point this bug out to the people who have the ability to fix it.
</blockquote>
<p>
He <a href="http://www.littlehart.net/atthekeyboard/2007/07/20/protecting-your-php-code/">goes on</a> to talk more about how protection like this (the article talks about using the IonCube Encoder) will not stop someone if they're really determine to get at the code underneath the encryption. His only suggestion is to make an application good enough that people wouldn't want to try to steal it as much and would rather pay for their version.
</p>
<blockquote>
Encode your stuff if you want, but be aware that the minute you choose to do that you are telling your customers "I don't trust you" and I have a hard time understanding a business model that assumes people are going to want to steal the stuff you sell.
</blockquote>]]></description>
      <pubDate>Mon, 23 Jul 2007 07:55:00 -0500</pubDate>
    </item>
  </channel>
</rss>
