Skip to content

Instantly share code, notes, and snippets.

@rudSarkar
Created July 6, 2019 15:00
Show Gist options
  • Save rudSarkar/d5067d5c198db60612123b57c25429b5 to your computer and use it in GitHub Desktop.
Save rudSarkar/d5067d5c198db60612123b57c25429b5 to your computer and use it in GitHub Desktop.
<?php
$content = file_get_contents($_GET['url']);
file_put_contents('image.jpg', $content);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment