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.
- Host: GitHub
- URL: https://github.com/crescentkohana/php-uploader-for-sharex
- Owner: CrescentKohana
- License: mit
- Created: 2017-12-02T05:04:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T12:45:36.000Z (almost 4 years ago)
- Last Synced: 2024-05-02T04:18:53.069Z (about 2 years ago)
- Topics: php, php-uploader, sharex
- Language: PHP
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
