Baidu Network disk speed, good stability, you deserve to have, if the support directly after the direct connection can use Baidu's network.
This provides a temporary solution that is not guaranteed to be available later.
Save the following code as downbd.php
Copy Code code as follows:
<?php
$canshu =$_server["Query_string"];
if ($canshu = = "")
{
Die ("file does not exist");
}
Else
{
$wangzhi = "Http://pan.baidu.com/share/link?". $canshu;
$file =file_get_contents ($wangzhi);
$pattern = '/a><a class= ' dbtn cancel Singledbtn ' href= (. *?) Id= "Downfilebuttom" >/i ";
Preg_match_all ($pattern, $file, $result);
$tempurl =implode ("", $result [1]);
$FILEURLT =str_replace ("\" "," ", $tempurl);
$fileurl =str_replace ("&", "&", $FILEURLT);
Header ("Location: $fileurl");
}
?>
Call Method:
http://***/downbd.php?shareid=00000&uk=00000
Mainly the shareid=00000&uk=00000 format.