帝国cms跳转地址转码加密base64的方法:
<?php if($navinfor[weburl]==''){ ?>
<?php }else{ $weburl="\\\\/url.php?url=".base64_encode($navinfor[weburl]); ?>
<a href="<?=$weburl?>" rel="external nofollow" class="btn-all btn-blue" target="_blank" rel="nofollow"><span>查看演示</a>
<?php } ?>
第二步:新建url.php复制一下代码,放跟目录
<?
header("Content-type: text/html; charset=utf-8");
$url=$_GET["url"];
if($url==''){echo "暂无演示";}
$urll=base64_decode($url);
header("Location:".$urll);?>