in reply to World's Smallest Gif

I use this same sort of thing to display images that I store as blobs in a db. basically: print "content-type:image/gif\n\n"; print $blob_data; exit;