Thunder special link Add AA to the header of the ordinary download address, add ZZ to the tail and encode it through base64, and finally add thunder:// to the header. At the end, add qqdl:// Express special link . Add [FLASHGET] to the head and tail of the ordinary download address respectively, and then encode it through base64. Add flashget:// to the last head. Reprint address: http:/ /blog.qita.in/?post=334
$url = 'Dedicated download link';
$url = str_ireplace('thunder://','',$url);$url = str_ireplace('qqdl://','' ,$url);
$url = str_ireplace('flashget://','',$url);//Remove the head of the private chain through 3 replacements-
- $url = base64_decode($url);/ /Decode base64-encoded data
-
- $url = str_ireplace('[FLASHGET]','',$url);
-
- if(preg_match('/AA(.*)ZZ/',$url,$ result))//Get the real link through substitution and regularization
-
- {
-
- $result = $result[1];
-
- }
-
- else
-
- {
-
- $result = $url;
-
- }
-
- echo $ result;
-
-
- Copy code
-
-
-
-
|