Return to Snippet

Revision: 2419
at February 13, 2007 02:15 by wolfie

Initial Code
print "Content-type: image/jpeg\n";
print "Content-disposition: inline; filename=$file\n\n";
print $content;

Initial URL

Initial Description
Use this to display a file properly if you are reading it from another location and wish to direct it to the user's browser

Initial Title
How to make sure the filename you want is output to a browser

Initial Tags
html, perl

Initial Language