请问php网站代码 大家是如何防止别人看到源代码的? 如果要卖产品给别人,对于C语言,把源代码删除就可以了但是PHP怎么办呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 哪里可以下载到zend 呢? 好像 zend 是需要付费的??? 你可以用zend或微盾PHP加密专家加密一下就行了. 微盾PHP加密专家 确实很好使~~只是不知道它的加密原理是什么。。再求教一下吧~ 解密算法: <?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+/'))."?>"; ?> 加密 或者thinkphp里可以实现 多年的web开发经验寻找外包或者项目合作(php) 如何处理字节流数组 继承权限出现拒绝访问! PHP 帝国CMS,wordpress 模板接口,那位大神玩过? DedeCms会员登录成功,又跳转到登录页面 为什么我在wampserver phpmyadmin无法访问 又一个ms不可解问题,如何让web服务器 对同一个session只保持一个页面的请求 PHP 文本操作,取文本问题 PHPCMS 如何禁止生生成首页啊 smarty的循环问题 dedecms 图片(map)链接问题 MySQL数据库
。。
再求教一下吧~
解密算法:
<?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+/'))."?>"; ?>