An open API service indexing awesome lists of open source software.

https://github.com/crescentkohana/php-uploader-for-sharex

A custom PHP uploader used with ShareX.
https://github.com/crescentkohana/php-uploader-for-sharex

php php-uploader sharex

Last synced: about 1 year ago
JSON representation

A custom PHP uploader used with ShareX.

Awesome Lists containing this project

README

          

# 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](sharex_settings.png)