Skip to content

Instantly share code, notes, and snippets.

@carloscarucce
carloscarucce / imageProxy.php
Last active March 10, 2024 09:55 — forked from nicoptere/imageProxy.php
basic PHP image proxy (that works ... )
<?php
$url = isset($_GET['url']) ? $_GET['url'] : null;
if (!$url) {
die('Please, inform URL');
}
$imgInfo = getimagesize( $url );