DEDECMS add Express special high-speed download link

Source: Internet
Author: User
Keywords Dedecms high speed download link

Today, the Wind Network (http://www.ithov.com) to teach you to add high-speed Express download link address, interested friends can try!

First line you can go to the Express Alliance to apply for an account, and then get the corresponding link code, the following is mainly for JS Express chain download code installation instructions:

1. Please click here to download the Flashget_base64.js file and unzip it to the root directory of the website

2. Add the following code before outputting the HTML template page file header label for the download address, and must contain the following 2 lines of code

<script src= "http://ufile.qushimeiti.com/Flashget_union.php?fg_uid= your affiliate ID" ></script>
<script src= "/flashget_base64.js" ></script>

The following modification methods are primarily intended for use in the DEDECMS system, and continue to add the following code below:

<?php
$str = $downlinks;
$myReg = "/<a href=\ ' (. *) \ ' style (. *) <\/a>/sui";
Preg_match ($myReg, $str, $matches);
$FGURL = "http://". $_server[' Http_host ']. $matches [1];
?>

<script>var furl= "<?php echo $fgUrl;?>"; </script>

3. Then add the following code where you want to display the download address:

<TD height= ><a href= ' onclick= ' convertfgurl (0, your affiliate ID) ' oncontextmenu= ' Flashget_sethref_js (this, your affiliate ID); ' >style= ' color:red ' ><u> Express special high speed download </u></a>

Specific format you can define a variety of different styles, upload the modified template file!

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.