Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 829 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 829 Bytes

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