Using php as a desktop application
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1606798/php-as-a-desktop-programming-language">PHP as a Desktop Programming Language</a>  </p>
</blockquote>



<p>I have developed a sales application with php (codeigniter framework). i am using xampp to run this application in local PC's browser. now i want 2 things:</p>

<ol>
<li>is there any way to run this application as a desktop application? something like an icon will open the app and run without any browser. also without xampp to be set up.</li>
<li>also i want to protect the code from unauthorized using. someone can easily copy the code and run it on other computer. i want to prevent this.</li>
</ol>

<p>please help me about these issues. thanks in advance.</p>
