Home > Backend Development > PHP Tutorial > PHP creates Thunder Express Tornado download link example code_PHP tutorial

PHP creates Thunder Express Tornado download link example code_PHP tutorial

WBOY
Release: 2016-07-13 17:43:05
Original
761 people have browsed it

function zhuanhuan() {
$urlodd=explode(//,$_GET["url"],2);//Divide the link into 2 paragraphs, //The first paragraph is in front, What follows is the second paragraph
$head=strtolower($urlodd[0]);//PHP is case-sensitive, so convert it to lowercase first, otherwise HtTp: or ThUNDER: will appear. This weird way of writing is difficult to handle.
$behind=$urlodd[1];
if($head=="thunder:"){
$url=substr(base64_decode($behind), 2, -2);//base64 Decrypt, remove the AA in front and ZZ in the back
}elseif($head=="flashget:"){
($url1[0]), 10, -10);//base64 decryption, remove the [FLASHGET]
before and after }elseif($head=="qqdl:"){
$url=base64_decode( $behind);//base64 decryption
}elseif($head=="http:"||$head=="ftp:"||$head=="mms:"||$head=="rtsp :"||$head=="https:"){
$url=$_GET["url"];//Regular addresses only support http, https, ftp, mms, rtsp transmission protocols, other places seem to be very Few, like XX network disk is actually based on base64, but some cannot be downloaded even after decryption
}else{
                                                                                                                                                  use using using using ’ using ’ to use ’ to use ’ to use ’ using base64. ;
}
if($_GET["url"]!=NULL){
$url=zhuanhuan($_GET["url"]);
$url_thunder="thunder:// ".base64_encode("AA".$url."ZZ");//base64 encryption, the same is true for the following 2
$url_flashget="Flashget://".base64_encode("[FLASHGET]".$url. "[FLASHGET]")."&aiyh";
$url_qqdl="qqdl://".base64_encode($url);
}
?>


Please enter a normal link or Thunder, Express, or Tornado link address:



Actual address:

Thunder Chain:

Express chain:

Cyclone chain:


http://www.bkjia.com/PHPjc/478847.html

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/478847.htmlTechArticle?php function zhuanhuan() { $urlodd=explode(//,$_GET["url"],2 );//Divide the link into 2 sections, //The first section is in front, and the second section is behind. $head=strtolower($urlodd[0]);//PHP is case-sensitive...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template