PHP generation of Thunder, Express, QQ tornado download link instance _ PHP Tutorial

Source: Internet
Author: User
PHP generates instances of download links for thunder, express train, and QQ tornado. This article describes how to use PHP functions to easily generate download link data for various third-party download tools (such as thunder, express, and QQ tornado) and directly output the data to the front-end, this article describes how to use PHP functions to easily generate download link data for various third-party download tools (such as thunder, express, and QQ tornado) and directly output the data to the front-end, you can also restore the converted link to the original one.

The PHP functions used by this function are mainly the following two:

1. base64_encode: used to encrypt strings in base64 mode;

2. base64_decode: used to decrypt strings encrypted in base64 mode.

The following example shows how to understand it.

 PHP method for generating download links for thunder, express train, and QQ tornado
 "Thunder ://". base64_encode ("AA ". $ url. "ZZ"), 'flashget' => "flashget ://". base64_encode ("[FLASHGET]". $ url. "[FLASHGET]"). "& aiyh", 'qqdl '=> "qqdl ://". base64_encode ($ url);} else {return '';} return $ url;} $ url = isset ($ _ GET ['URL'])? $ _ GET ['URL']: ''; $ result = zhuanhuan ($ url);?>
 

Address: "target =" _ blank ">

Thunder chain: "target =" _ blank ">

Express link: "target =" _ blank ">

Tornado chain: "target =" _ blank ">

Actual address: "target =" _ blank ">

The page effect is as follows:

Articles you may be interested in
  • Php idea and implementation method for generating short URLs
  • Php uses curl to implement multi-threaded classes and php curl to download images with multiple threads
  • PHP uses Curl Functions to Capture webpages and download files with multiple threads
  • Php generates a dynamic verification code Image (gif)
  • Php retrieves remote images and downloads and saves them to a local device.
  • Php uses header () to download files. the downloaded files prompt that they are damaged and cannot be opened.
  • Use the PHP function memory_get_usage to obtain the current PHP memory consumption for program performance optimization.
  • Simple example of php getting webpage content through socket

Compile PHP function processing to easily generate download link data for various third-party download tools (such as thunder, express, and QQ tornado) and directly output the data to the front-end ,...

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.