Skip to content

Instantly share code, notes, and snippets.

View elgammalqa's full-sized avatar
🎯
Focusing

Amir elgammal elgammalqa

🎯
Focusing
View GitHub Profile
@elgammalqa
elgammalqa / proxy.php
Created May 22, 2020 09:29 — forked from searsia/proxy.php
Simple PHP image proxy
<?php
$PROXY = 'https://yourdomain.top/proxy.php?url=';
# This script forwards the call
# Check for url parameter, and prevent file transfer
if (isset($_GET['url']) and preg_match('#^https?://#', $_GET['url']) === 1) {
$url .= $_GET['url'];
} else {