> For the complete documentation index, see [llms.txt](https://hamer.gitbook.io/hamer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hamer.gitbook.io/hamer/scripts/darkrp_screenshot/web-server-setup.md).

# Web Server Setup

Make script able to upload image from client player your web server and return image URL

1. Push **upload.php** to your web server
2. [Enable PHP file upload](https://www.w3schools.com/php/php_file_upload.asp)
3. [Change max upload size](https://stackoverflow.com/questions/2184513/change-the-maximum-upload-file-size)
4. Edit `Config.UploadUrl` in **config.lua**  to your **upload.php**
