-
Notifications
You must be signed in to change notification settings - Fork 4
Config Guide
Below you will find out how to use your config to the fullest.
To start let's talk about the main important parts of your config, this includes the password
, directory
and domain
, let's start with password
, this is the value that is used to upload files from ShareX, you must have this set to something otherwise you will not be able to upload files. directory
is not the upload folder but rather where all of PHP Uploader's files are kept on your website, if you had them stored in a folder called u
then you would put /u/
in directory
. Finally, domain
is the domain linked to the website that has PHP Uploader installed on it, you need to put just the domain and not the URL.
Then there is embed
, this is where you can configure how the Twitter card and Discord Embed will look, say you wanted the domain to have the title of i just uploaded (file here)
you can do that by making the title in the config i just uploaded {filename}
, the {}
characters are used to indicate a placeholder, you can find a list of placeholders below.
- {domain} : The domain set in the config.
- {filesize} : The size of the file.
- {filename} : The name of the file.
- {uploaddate} : The date the file was uploaded.
PHP Uploader ©️ benny.pink