|
发表于 2013-6-1 17:10:30
|
显示全部楼层
zhangjian 发表于 2013-6-1 17:02 
mjj 求共享百度网盘外链转换器源码 - <?php
- $url = 'http://pan.baidu.com/share/link?shareid=' . $_GET['shareid'] . '&uk=' . $_GET['uk'];
- $txes = file_get_contents($url);
- $txes = htmlspecialchars($txes);
- $txes = str_replace("amp;", "", $txes);
- $temp1 = explode("http://d.pcs.baidu.com/file", $txes);
- if ($temp1[1] =="")
- {
- echo "<script>alert('你没是JJ,\\文件失效后的提示,下面点击后返回的网址')</script>";
- echo "<script>window.location.href='http://www.205205.xyz';</script>";
- }
- else
- {
- $temp2 = explode("private",$temp1[1]);
- header("Location:http://d.pcs.baidu.com/file".$temp2[0]."private");
- }
- ?>
- 保存PHP文件,地址和楼主那个一样格式就行
复制代码 |
|