This article has exceededtwo hundred and fortyDays, you need to pay attention to whether the content or pictures of the article are available!
2023 Operation level online profit online disk platform construction (source code+tutorial)
Why do you want to build your own network disk? Many files in the network disk of many large factories have added many restrictions. Many files will be harmonious, and most network disks will also have speed limits. It is difficult to use without opening VIP!This is a set of online profit disks that can be operated. The code can be re developed without encryption.The download UI is similar to that of Chengtong online disk, and there is also a set of download UI of Lanzuo Cloud
The home page is also beautified. User login can realize public account scanning login, download can also set speed limit, open members, and online deposit function.The download page is automatically obtained with QR code.
The link format is the same as that of Lanzuo Cloud to prevent the files stored by itself from being stolen. The common download link format is: domain name/s/123456, and then continue to sort the domain name/s/1234567
Build Tutorial
1. Download the source code first, resolve the domain name to the server, and upload the file to the server
We set the running directory to public, PHP version 7.2
Then set pseudo static:
Apache pseudo static:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase/
RewriteCond%{REQUEST_FILENAME}!-d
RewriteCond%{REQUEST_FILENAME}!-f
RewriteRule^(.*)$index.php?s=/$1[QSA,PT,L]
</IfModule>
Nginx pseudo static:
location/{
if(!-e$request_filename){
rewrite^(.*)$/index.php?s=/$1 last;
}
}
If you don't understand, there is a video tutorial in the online disk file
Article copyright notice: unless otherwise notedKnife cheap blogFor original articles, reprints or copies, please use hyperlinks and indicate the source.