Skip to content

JonathanBroering/ShareX-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Share X Upload Script for PHP

This script let you upload files to your (ShareX) Server with PHP.

How to use the Script?

Server Part:

1. Download and unzip the files to the root Directory of the Server.
2. Edit the config.php to your needs.
3. Create the Folder for the uploads (with your custom config, maybe you have to adjust the permissions for the folder)

ShareX Part:

1. Open Destinations -> Custom uploader settings...
2. Add a new Uploader
3. Select on the Destination type settings: Image uploader, Text uploader, File uploader
4. URL: thats the link to your server & the upload.php (e.g. https://yourdomain.com/upload.php)
5. "File form name:" = "file" (without quotation marks)
6. Body:
    - key -> Yoursecretkey from the Config
    - name -> the name of the file if you uploaded it (use %rx%rx%rx%rx%rx for 5 random characters and numbers)

Now you can test upload a file to verify the script is working.

About

This script let you upload files to your (ShareX) Server with PHP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages