php下载地址迅雷加密

180it 2020-02-16 AM 3378℃ 0条

下载地址迅雷加密

<?php
function convertxunlei($str){
    $downr=explode('$',$str);
    $c=count($downr);
    for($i=0;$i<$c;$i++){
        if(strpos($downr[$i],'tp://')>0){
            //$title=$dr[0];
            $url=$downr[$i];
            $xlurl = 'thunder://'.base64_encode('AA'.$url.'ZZ').'/';
            $str=str_replace($url,$xlurl,$str);
        }
    }
    return $str;
}

$s = '第1集$ftp://tv1:tv1@xl.77ds.com:12152/[七七电视www.77ds.com]风中奇缘01.mp4$xunlei
第2集$ftp://tv1:tv1@xl.77ds.com:12152/[七七电视www.77ds.com]风中奇缘02.mp4$xunlei
第3集$ftp://tv1:tv1@xl.77ds.com:12154/[七七电视www.77ds.com]风中奇缘03.mp4$xunlei';

$xl1 = convertxunlei($s);
$xl1=str_replace('$xunlei','',$xl1);
echo ($xl1);
?>

来源:https://www.imhu.cn/days/382

支付宝打赏支付宝打赏 微信打赏微信打赏

如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!

标签: none

php下载地址迅雷加密