shellac

<div class="flex-row"> <a href="https://ko-fi.com/Ahwxorg" target="_blank" ><img src="static/images/kofi.png" alt="kifi img" height="50" width="auto" /></a> <a href="https://www.buymeacoffee.com/ahwx" target="_blank"> <img src="static/images/buy-me-a-coffee.png" height="50" width="auto" alt="buy-me-a-coffee img" /></a> </div> </div> <?php require_once "misc/header.php"; require_once "misc/tools.php"; $url = $_REQUEST["url"]; $requested_root_domain = get_root_domain($url); $allowed_domains = array("i.ytimg.com", "s2.qwant.com", "s1.qwant.com", "upload.wikimedia.org"); if (in_array($requested_root_domain, $allowed_domains)) { $image = $url; $image_src = request($image, $config->curl_settings); header("Content-Type: image/png"); echo $image_src; } ?>