joshua has asked for the wisdom of the Perl Monks concerning the following question:
HTML File:
<img src="image.pl">
image.pl:
#!/usr/bin/perl -wT use strict; open(IMAGE, "x.gif") || error_stuff(); print "Content-type: image/gif\n\n" . <IMAGE>; close(IMAGE);
Is there a better way to do this?
Thanks
Joshua
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Printing an Image From a File to the Browser...
by dws (Chancellor) on Jun 14, 2002 at 23:42 UTC | |
by joshua (Pilgrim) on Jun 15, 2002 at 00:45 UTC | |
|
Re: Printing an Image From a File to the Browser...
by r0b (Pilgrim) on Jun 14, 2002 at 23:25 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |