最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - deploy website without source code - Stack Overflow

programmeradmin0浏览0评论

I have developed website in php. I want deploy it without source code. Is it possible with php?

Can I convert my website code to some intermediate form and then deploy it ?

I have developed website in php. I want deploy it without source code. Is it possible with php?

Can I convert my website code to some intermediate form and then deploy it ?

Share Improve this question edited Apr 1, 2013 at 7:47 NullPoiиteя 57.3k23 gold badges128 silver badges146 bronze badges asked Apr 1, 2013 at 7:45 deepakdeepak 1993 silver badges10 bronze badges 9
  • its not possible in php ... also why you want to do that ? – NullPoiиteя Commented Apr 1, 2013 at 7:46
  • Do you want to hide the PHP code, or the HTML code? – user1233508 Commented Apr 1, 2013 at 7:47
  • 1 I have developed small utility for store management. I am going to deploy it in local store. I dont want anybody just copy paste it. – deepak Commented Apr 1, 2013 at 7:50
  • 4 @deepak: Make a contract and tell your customer which rights they have with the software and how much money they owe you if they break the contract. Works better. – hakre Commented Apr 1, 2013 at 7:51
  • 1 @roXon: it depends on the use case. The hosting pany (and depending on the hosting setup, other users of the same hosting server) can see the PHP code. Site visitors can see the HTML code. – user1233508 Commented Apr 1, 2013 at 7:52
 |  Show 4 more ments

3 Answers 3

Reset to default 6

You can use the Zend guard to encode your code so it can't be reverse engineered...

http://www.zend./en/products/guard/

PHP HTML and JavaScript are open source language so you can do nothing to encode them which can't be decode. One way is Zend Guard - Encode Your PHP Applications for php which can be decoded by sites like these: Websites for zend decoder online.

But the good news is if you always use the last version of Zend Guard it can't be reversed, because still there is no decoder came for it.

Another way is, you buy a VPS (Virtual private server) or Dedicated Server and deploy your source code in there and you just sell your web application usage to your customers (not the source code). So just, you have the user and password of host and no one can see your application code.


Update

Recently, I've used ionCube. It's fine. However you need to change your deployment process a bit. Before transferring code to deployment server you need to encrypt it by ionCube. After that you should install ionCube loaders on the server by which php can load the encrypted codes.

if you are going to host your website on shared hosting or any thirdparty hosting, you may use zend encoder or ioncube php encoder, they will protect your source code.

http://www.zend./en/products/guard

http://www.ioncube./sa_encoder.php

发布评论

评论列表(0)

  1. 暂无评论