Skip to content

Instantly share code, notes, and snippets.

@fightbulc
Created March 20, 2017 12:33
Show Gist options
  • Save fightbulc/ed19efe35057efda8014f24e61a7f07b to your computer and use it in GitHub Desktop.
Save fightbulc/ed19efe35057efda8014f24e61a7f07b to your computer and use it in GitHub Desktop.
Transparent 1x1 PNG:
header('Content-Type: image/png');
echo base64_decode('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=');
Transparent 1x1 GIF:
header('Content-Type: image/gif');
echo base64_decode('R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment