PHP Generator Thunderbolt Express Tornado link _php tutorial

Source: Internet
Author: User
Tags vars
 
 
  1. function Zhuanhuan () {
  2. $urlodd = Explode (//,$_get["url"],2);//The link is divided into 2 segments,//front is the first paragraph, Next is the second paragraph.
  3. $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
  4. $behind = $urlodd [1];
  5. if ($head= ="Thunder:") {
  6. $url = substr (base64_decode($behind), 2,-2); //base64 Decrypt, remove the front AA and the back ZZ
  7. }ElseIf($head= ="flashget:") {
  8. $url 1 = Explode (&,$behind, 2);
  9. $url = substr (base64_decode($url 1[0]), -10); //base64 Decryption, remove the previous [FLASHGET]
  10. }ElseIf($head= ="QQDL:") {
  11. $url = Base64_decode ($behind); //base64 Decryption
  12. }ElseIf($head= ="http:"| | $head == "ftp:" || $head == "MMS:" || $head == "RTSP:" || $head == "https:" ){
  13. $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
  14. }Else{
  15. Echo "This page does not support this agreement for the time being";
  16. }
  17. return $url;
  18. }
  19. if ($_get["url"]!=null) {
  20. $url =zhuanhuan ($_get["url"]);
  21. $url _thunder = "thunder://" . Base64_encode ("AA". $url . "ZZ" );//base64 encryption, the following 2 is the same
  22. $url _flashget = "flashget://" . Base64_encode ("[FLASHGET]". $url . "[FLASHGET]" ). "&aiyh" ;
  23. $url _qqdl = "qqdl://" . Base64_encode ($url);
  24. }
  25. ?>
  26. Actual address: " " target= "_blank"> echo $url ;? >

  27. Thunderbolt chain: " " target="_blank"> echo $url _thunder;? >

  28. Express Chain: " " target= "_blank"> echo $url _flashget;? >

  29. 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 ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.