File tree 3 files changed +7
-8
lines changed
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
<html>
3
3
<head>
4
- <title>Servidor de Descargas </title>
4
+ <title>Download Server </title>
5
5
</head>
6
6
<body>
7
7
15
15
$ filepath = 'download/ ' . $ filename ;
16
16
if (!empty ($ filename ) && file_exists ($ filepath )){
17
17
18
- //Define Headers
18
+
19
19
header ("Cache-Control: public " );
20
20
header ("Content-Description: File Download " );
21
21
header ("Content-Disposition: attachment; / $ filename " );
Original file line number Diff line number Diff line change 5
5
< head >
6
6
7
7
</ head >
8
- < h1 > ShareX server</ h1 >
9
- < p > files.dynosaurio.ml</ p >
10
- < p > Uso privado de Doctor Mágico.</ p >
8
+ < h1 > ShareX based image webserver 🖼️</ h1 >
9
+
11
10
< body >
12
11
</ body >
13
12
</ html >
Original file line number Diff line number Diff line change 1
1
<?php
2
- $ secret_key = "554556423939 " ; //Set this as your secret key, to prevent others uploading to your server.
3
- $ sharexdir = "images/ " ; //This is your file dir, also the link..
4
- $ domain_url = 'https://files.dynosaurio.ml/ ' ; //Add an S at the end of HTTP if you have a SSL certificate.
2
+ $ secret_key = "password " ; //Password to upload files to the server
3
+ $ sharexdir = "images/ " ; // Images Directory
4
+ $ domain_url = 'url.com ' ; //Remember to add an S at the end of HTTP if you have a SSL certificate.
5
5
$ lengthofstring = 5 ; //Length of the file name
6
6
7
7
function RandomString ($ length ) {
You can’t perform that action at this time.
0 commit comments