PHP generates download link code samples for Thunder Express Cyclone and other software
- 2021-06-28 11:35:06
- OfStack
<?php
function Download() {
$urlodd=explode('//',$_POST["url"],2);// Break Links Into 2 Segment, // First 1 Paragraph, followed by 2 paragraph
$head=strtolower($urlodd[0]);//PHP Case sensitive, first 1 Convert to lowercase, otherwise Appear HtTp: perhaps ThUNDER: This strange writing is hard to handle
$behind=$urlodd[1];
if($head=="thunder:"){
$url=substr(base64_decode($behind), 2, -2);//base64 Decrypt, remove previous AA And behind ZZ
}elseif($head=="flashget:"){
$url1=explode('&',$behind,2);
$url=substr(base64_decode($url1[0]), 10, -10);//base64 Decrypt, remove front and rear [FLASHGET]
}elseif($head=="qqdl:"){
$url=base64_decode($behind);//base64 Decrypt
}elseif($head=="http:"||$head=="ftp:"||$head=="mms:"||$head=="rtsp:"||$head=="https:"){
$url=$_POST["url"];// General Address only supports http,https,ftp,mms,rtsp Transport protocol, other terrain looks like very few, like XX Disks are also actually based on base64 But some decryptions can't be downloaded
}else{
echo " This page does not support this protocol at this time ";
}
return $url;
}
if($_POST["url"]!=NULL){
$url=Download($_POST["url"]);
$url_thunder="thunder://".base64_encode("AA".$url."ZZ");//base64 Encryption, below 2 also 1 kind
$url_flashget="Flashget://".base64_encode("[FLASHGET]".$url."[FLASHGET]")."&aiyh";
$url_qqdl="qqdl://".base64_encode($url);
}
?>
<form action="" method="POST">
Please enter a normal link or Thunder , Express, Cyclone Chain Address :
<input type=text name="url" size="80">
<input type=submit value=" Transformation ">
</form>
<p> Actual address: <a href="<?php echo $url;?>" target="_blank"><?php echo $url;?></a>
<p> Thunder Chain: <a href="<?php echo $url_thunder;?>" target="_blank"><?php echo $url_thunder;?></a>
<p> Express Chain: <a href="<?php echo $url_flashget;?>" target="_blank"><?php echo $url_flashget;?></a>
<p> Cyclone Chain: <a href="<?php echo $url_qqdl;?>" target="_blank"><?php echo $url_qqdl;?></a>