Rumah > Soal Jawab > teks badan
Pertama lihat kod js:
MacPlayer.Html = '<iframe width="100%" height="'+MacPlayer.Height+'" allowTransparency="true" frameborder="0" scrolling="no" src="http://www.qbzhan.com/chaojikan.php?url='+MacPlayer.PlayUrl+'"></iframe>';
MacPlayer.Show();
http://www.qbzhan.com/chaojik...
Keperluan:
Tulis sekeping kod php untuk mengesan kandungan selepas tanda sama:
Kod php yangmerujuk ialah: http://www.qbzhan.com/chaojik...
Jika alamat akses ialah:
http://www.qbzhan.com/chaojik...
Kemudian biarkan php melompat ke: Sambungan baharu:
http://www.qbzhan.com/iqi.php...
Iaitu:
http://www.qbzhan.com / iqi.php...
怪我咯2017-05-16 12:04:09
URL anda semuanya telah menjadi pautan, sila ubah suainya, jika tidak, saya tidak akan faham soalan yang anda tanyakan
高洛峰2017-05-16 12:04:09
Selesai, terima kasih
<?php
$url=empty($_GET['vid'])?$_GET['url']:$_GET['vid'];
$needleA= 'acfun.cn'; $needleB= 'iqiyi.com'; $needleC= 'v.qq.com'; $needleD= 'youku.com'; $needleE= 'toutiao.com';
if(strpos($url, $needleA)>0){echo "<script>window.onload=function(){location.href='http://www.12399688.com/index/acfun.php?url=$url';}</script>";}
else if(strpos($url, $needleB)>0){echo "<script>window.onload=function(){location.href='http://www.65yw.com/rooog1/iqiyi.php?id=$url';}</script>";}
else if(strpos($url, $needleC)>0){echo "<script>window.onload=function(){location.href='http://www.12399688.com/index/qqvod.php?url=$url';}</script>";}
else if(strpos($url, $needleD)>0){echo "<script>window.onload=function(){location.href='http://www.12399688.com/index/youku.php?url=$url';}</script>";}
else if(strpos($url, $needleE)>0){echo "<script>window.onload=function(){location.href='http://www.12399688.com/index/https.php?url=$url';}</script>";}
else{echo "<script>window.onload=function(){location.href='http://www.12399688.com/admin.php?url=$url';}</script>";}
?>