Skip to content

Commit 37d8bee

Browse files
authored
.
1 parent 294b398 commit 37d8bee

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

download.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Servidor de Descargas</title>
4+
<title>Download Server</title>
55
</head>
66
<body>
77

@@ -15,7 +15,7 @@
1515
$filepath = 'download/' . $filename;
1616
if(!empty($filename) && file_exists($filepath)){
1717

18-
//Define Headers
18+
1919
header("Cache-Control: public");
2020
header("Content-Description: File Download");
2121
header("Content-Disposition: attachment; /$filename");

index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
<head>
66

77
</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+
1110
<body>
1211
</body>
1312
</html>

up.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?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.
55
$lengthofstring = 5; //Length of the file name
66

77
function RandomString($length) {

0 commit comments

Comments
 (0)