Home > Backend Development > PHP Tutorial > Thunder, Cyclone, Express chain conversion

Thunder, Cyclone, Express chain conversion

WBOY
Release: 2016-07-25 09:02:05
Original
1189 people have browsed it
Thunder, Cyclone, Express chain conversion

    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
  1. $url = base64_decode($url);/ /Decode base64-encoded data
  2. $url = str_ireplace('[FLASHGET]','',$url);
  3. if(preg_match('/AA(.*)ZZ/',$url,$ result))//Get the real link through substitution and regularization
  4. {
  5. $result = $result[1];
  6. }
  7. else
  8. {
  9. $result = $url;
  10. }
  11. echo $ result;
  12. Copy code
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