-
- function Zhuanhuan () {
- $urlodd = Explode (//,$_get["url"],2);//The link is divided into 2 segments,//front is the first paragraph, Next is the second paragraph.
- $head = Strtolower ($urlodd[0]); //php is case sensitive, first uniform conversion to lowercase, or http: or thunder: This weird writing is not good to handle
- $behind = $urlodd [1];
- if ($head= ="Thunder:") {
- $url = substr (base64_decode($behind), 2,-2); //base64 Decrypt, remove the front AA and the back ZZ
- }ElseIf($head= ="flashget:") {
- $url 1 = Explode (&,$behind, 2);
- $url = substr (base64_decode($url 1[0]), -10); //base64 Decryption, remove the previous [FLASHGET]
- }ElseIf($head= ="QQDL:") {
- $url = Base64_decode ($behind); //base64 Decryption
- }ElseIf($head= ="http:"| | $head == "ftp:" || $head == "MMS:" || $head == "RTSP:" || $head == "https:" ){
- $url = $_get ["url"]; //General address only support HTTP,HTTPS,FTP,MMS,RTSP transport protocol, other seemingly few, like XX network disk is actually based on Base64, but some decrypted also can not download
- }Else{
- Echo "This page does not support this agreement for the time being";
- }
- return $url;
- }
- if ($_get["url"]!=null) {
- $url =zhuanhuan ($_get["url"]);
- $url _thunder = "thunder://" . Base64_encode ("AA". $url . "ZZ" );//base64 encryption, the following 2 is the same
- $url _flashget = "flashget://" . Base64_encode ("[FLASHGET]". $url . "[FLASHGET]" ). "&aiyh" ;
- $url _qqdl = "qqdl://" . Base64_encode ($url);
- }
- ?>
-
Actual address: " " target= "_blank"> echo $url ;? >
Thunderbolt chain: " " target="_blank"> echo $url _thunder;? >
Express Chain: " " target= "_blank"> echo $url _flashget;? >
- http://www.bkjia.com/PHPjc/478843.html www.bkjia.com true http://www.bkjia.com/PHPjc/478843.html techarticle php function Zhuanhuan () {$urlodd = explode (///, $_get [url],2);//link is divided into 2 segments,//front is the first paragraph, followed by the second paragraph $head = strtolower ( $urlodd [0]); php to Big ...
-