Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of download.php hotlink protection for dream-weaving download channel

Shulou Source: shulou.com Published: 2022-06-02 05:00:40 11月15日 Update

Dream download channel download.php hotlink protection method? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

Dream download channel download.php hotlink protection how to do?

Dream DEDECMS download channel download.php hotlink protection

Recommended study: dream weaving cms

1. Download channel hotlink protection must set the link display mode in the software channel settings: enter the download address list page

two。 Modify / plus/download.php

The modification method is as follows:

Find:

$row = $dsql- > GetOne ("Select $vname From". $cu- > ChannelInfos ['addtable']. "where aid='$aid'")

Add on top of his

If (! strstr ($_ SERVER ['HTTP_REFERER'], $arcurl)) {echo "location=\" $arcurl\ ";;}

This will be fine.

Thank you for reading! After reading the above content, do you have a general understanding of the method of download.php hotlink protection in the dream download channel? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Tags: Channels download channels anti-theft content methods articles questions learning functions addresses methods more watch industry information information channels software channels links central settings Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Xiaomi NVidia Shulou Tech Info Redmi