PHP code example of mrcnpdlk / image-web-tool
1. Go to this page and download the library: Download mrcnpdlk/image-web-tool library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mrcnpdlk / image-web-tool example snippets
server {
listen 127.0.0.1:9081 default_server;
root API_DIR_LOCATION;
index api.php;
server_name _;
location / {
try_files $uri $uri/ /api.php?$args;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;