Simple ShareX uploader backend in PHP.
-
Add upload.php to your web server.
-
Create an images/ directory.
-
Open upload.php, change the $TOKENS array and insert your own secrets there.
-
Open config.sxcu, change the secret in arguments to one of the ones you changed in the previous step.
-
Also change every localhost mention to your domain.
-
Apply the config file by double clicking on config.sxcu.
-
Make ShareX upload the image to a web server after capturing it.
-
Also make ShareX copy the URL to your clipboard.