FixNEthing has asked for the wisdom of the Perl Monks concerning the following question:
then have several for loops thatopen (ImageFile,">$ImageName") or dienice ("Could not open $ImageName +for writing."); binmode (ImageFile);
which works fine, but on a linux server, How do I send the bmp to the browser ? I assume it's something likeprint ImageFile chr($code); close (ImageFile); exit;
then how do I close the image ?print ("Content-type: image/bitmap\n"); print chr($code);
Edit kudra, 2001-07-17 Added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Yet another counter
by dvergin (Monsignor) on Jul 17, 2001 at 06:03 UTC | |
by earthboundmisfit (Chaplain) on Jul 17, 2001 at 16:46 UTC | |
|
Re: Yet another counter
by tachyon (Chancellor) on Jul 17, 2001 at 06:12 UTC |