Skip to content

CrescentKohana/PHP-uploader-for-ShareX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-uploader-for-ShareX

A custom PHP uploader used with ShareX.

  1. Create a directory for uploads in the webroot with mkdir i and make sure that it has at least 755 permissions: chmod 755 i.

  2. Change the owner and/or group of the upload directory to www-data (or equivalent) with chown www-data:www-data i

  3. Place the upload.php to the webroot (e.g. /var/www/example.com/upload.php) and the config.php to anywhere you like (just change the path in upload.php: $config = include('config.php');).

  4. Make sure that the max POST size is enough (e.g. in php.ini post_max_size = 100M)

  5. Open ShareX, click Destinations, click Destination Settings, scroll down until you find Custom uploaders and add a new uploader with the following settings:

ShareX settings

About

A custom PHP uploader used with ShareX.

Topics

Resources

License

Stars

Watchers

Forks

Languages