Skip to content

Instantly share code, notes, and snippets.

@neogis-de
Forked from bmcbride/proxy.php
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neogis-de/5e641ae6d9f17bc916d7 to your computer and use it in GitHub Desktop.
Save neogis-de/5e641ae6d9f17bc916d7 to your computer and use it in GitHub Desktop.
<?php
$ch = curl_init($_GET['url']);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
echo $output;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment