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.