Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Before In the cgi script I create an image with GD and I use a ENV variable. Why doesnt this work Thanks, Mello a continutation of this http://perlmonks.com/index.pl?node_id=414908 beacuse no-one was replyingprint "Content-type: image/png\n\n"; open(RAW, "output.png"); binmode(RAW); print RAW $im->png(); while ( read( RAW, $buffer, 16_384 ) ) { print $buffer; } close(RAW);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: enviroment variables do not work when cgi saved as image/png
by r34d0nl1 (Pilgrim) on Dec 17, 2004 at 20:26 UTC | |
|
Re: enviroment variables do not work when cgi saved as image/png
by steves (Curate) on Dec 18, 2004 at 14:55 UTC | |
|
Re: enviroment variables do not work when cgi saved as image/png
by sasikumar (Monk) on Dec 20, 2004 at 07:02 UTC |