in reply to Re^2: CGI-Perl:: Location for saving the GD output
in thread CGI-Perl:: Location for saving the GD output
open (DISPLAY,">/tmp/upload/$tag.jpg") ||error ($query, "Cant open +GRAPH:") ;
Why are you appending .jpg as extension, if the image is PNG?
binmode DISPLAY;
Try using binmode I; for reading and binmode STDOUT for writing the file.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CGI-Perl:: Location for saving the GD output
by cool (Scribe) on Sep 11, 2006 at 06:38 UTC | |
by shmem (Chancellor) on Sep 11, 2006 at 07:53 UTC | |
by cool (Scribe) on Sep 11, 2006 at 09:12 UTC | |
by gellyfish (Monsignor) on Sep 11, 2006 at 09:17 UTC |