如果要卖产品给别人,对于C语言,把源代码删除就可以了
但是PHP怎么办呢?

解决方案 »

  1.   

    哪里可以下载到zend 呢? 好像 zend 是需要付费的???
      

  2.   

    你可以用zend或微盾PHP加密专家加密一下就行了.
      

  3.   

    微盾PHP加密专家 确实很好使~~只是不知道它的加密原理是什么
    。。
    再求教一下吧~
      

  4.   


    解密算法:
     
    <?php $filename="install.php";//要解密的文件  
    $lines = file($filename);//0,1,2行 //第一次base64解密  
    $content="";  
    if(preg_match("/O0O0000O0('.*')/",$lines[1],$y))  
    {  
        $content=str_replace("O0O0000O0('","",$y[0]);  
        $content=str_replace("')","",$content);  
        $content=base64_decode($content);  
    }  
    //第一次base64解密后的内容中查找密钥  
    $decode_key="";  
    if(preg_match("/),'.*',/",$content,$k))  
    {  
        $decode_key=str_replace("),'","",$k[0]);  
        $decode_key=str_replace("',","",$decode_key);  
    }  
    //截取文件加密后的密文  
    $Secret=substr($lines[2],380);  
    //echo $Secret; //直接还原密文输出  
    echo "<?php ".base64_decode(strtr($Secret,$decode_key,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'))."?>"; ?>
      

  5.   

      加密 或者thinkphp里可以实现