Skip to content

Instantly share code, notes, and snippets.

@akashsky44
Created October 17, 2018 14:23
Show Gist options
  • Save akashsky44/e42ba33cfd4d70e5df09681732b6bb86 to your computer and use it in GitHub Desktop.
Save akashsky44/e42ba33cfd4d70e5df09681732b6bb86 to your computer and use it in GitHub Desktop.
<?php
/*
* Now, we pretend to be a graphic file that is a 1 pixel GIF.
*/
header('Content-type: image/gif');
/*
* Instead of creating a graphic file, or reading one from disk, we just embed
* the file as data, right into the script.
*/
echo base64_decode('R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment