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