Add the Download Method to the Dede Software Download module as thunder to download the Alliance code.

Source: Internet
Author: User

Introduction: This is the download method added to the Dede Software Download module for the Thunder download alliance.CodeThe details page of PHP, related knowledge, skills, experience, and some PHP source code.

Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 343817 'rolling = 'no'>

Add the Download Method to the Dede Software Download module to download the Alliance code for thunder.-published in: Dede technology-Dede tutorial

Modify the/plus/download. php file

Search

<? PHP

Add Dede tutorial-598080707.net to it

<SCRIPT src = "http://pstatic.xunlei.com/js/webThunderDetect.js"> </SCRIPT>

Add

Require ("encode. Inc ");

Search

Else if ($ open = 1 ){
$ Link = base64_decode ($ link );
Echo "<script language = 'javascript '> location = \" $ link \ "; </SCRIPT> ";
Exit ();

Replace

Else if ($ open = 1 ){
$ Link = base64_decode ($ link );
$ Url = ("http://asqq8.net/url". $ link );
$ Thunderurl = thunderencode ($ URL );
Echo "<SCRIPT> ondownloadclick ('". $ thunderurl. "','', location. href, 'Your Alliance id', 2, '') </SCRIPT> ";
Exit ();
}

Put the thunder Alliance's encode. inc file in the plus directory Dede technology-598080707.net

Log onto dedecms background system settings-software channel settings, and change the attachment Download Method to link to the jump page.

Post information: Dede technology bar | classification: Dede tutorial | Address: http://598080707.net/1/51.html

Love J2EE follow Java Michael Jackson video station JSON online tools

Http://biancheng.dnbcw.info/php/343817.html pageno: 5.

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.