Re: GD isn't outputting image data

2005-01-08 Thread Owen
On Sat, 08 Jan 2005 20:19:26 -0600 "JupiterHost.Net" <[EMAIL PROTECTED]> wrote: > > > Owen wrote: > > --insert--- > > open (OUT,">GD.png"); > > > > my $img = $image->png; > > print OUT "$img"; > > > $ cat GD.png > $ > >

Re: GD isn't outputting image data

2005-01-08 Thread JupiterHost.Net
Scott R. Godin wrote: Owen wrote: --insert--- open (OUT,">GD.png"); my $img = $image->png; print OUT "$img"; --end insert--- It worked for me, try modifying the script a la abov

Re: GD isn't outputting image data

2005-01-08 Thread JupiterHost.Net
Owen wrote: On Sat, 08 Jan 2005 14:36:57 -0600 "JupiterHost.Net" <[EMAIL PROTECTED]> wrote: I've added it to my test script and did the othe types as well and removed the content type header so that doesn't confuse the issue. #!/usr/bin/perl use strict; use warnings; use GD; my $image = GD::Ima

Re: GD isn't outputting image data

2005-01-08 Thread Scott R. Godin
Owen wrote: --insert--- open (OUT,">GD.png"); my $img = $image->png; print OUT "$img"; --end insert--- It worked for me, try modifying the script a la above and see if it produces a G

Re: GD isn't outputting image data

2005-01-08 Thread Owen
On Sat, 08 Jan 2005 14:36:57 -0600 "JupiterHost.Net" <[EMAIL PROTECTED]> wrote: > > I've added it to my test script and did the othe types as well and > removed the content type header so that doesn't confuse the issue. > > > #!/usr/bin/perl > > use strict; > use warnings; > use GD; > > my $

Re: GD isn't outputting image data

2005-01-08 Thread JupiterHost.Net
JupiterHost.Net wrote: Scott R. Godin wrote: JupiterHost.Net wrote: hello list :) Anyone have any idea why the last line doesn't print anything? I get no errors and have eval'ed it with no errors. I've also tried with ->png and ->jpeg also with the same results... I think I'm doing it right acc

Re: GD isn't outputting image data

2005-01-08 Thread JupiterHost.Net
Scott R. Godin wrote: JupiterHost.Net wrote: hello list :) Anyone have any idea why the last line doesn't print anything? I get no errors and have eval'ed it with no errors. I've also tried with ->png and ->jpeg also with the same results... I think I'm doing it right according to http://search

Re: GD isn't outputting image data

2005-01-08 Thread Scott R. Godin
JupiterHost.Net wrote: hello list :) Anyone have any idea why the last line doesn't print anything? I get no errors and have eval'ed it with no errors. I've also tried with ->png and ->jpeg also with the same results... I think I'm doing it right according to http://search.cpan.org/~lds/GD-2.19/

RE: Array question

2005-01-08 Thread Jim
> > Can anyone help with this > I have the following array: > 1,1040209458 > 2,1040328655 > 3,1040847094 > 4,1041030406 > 5,1042093756 > I need to create a script that goes through this > array(@temp_array), and > creates various output fi

GD isn't outputting image data

2005-01-08 Thread JupiterHost.Net
hello list :) Anyone have any idea why the last line doesn't print anything? I get no errors and have eval'ed it with no errors. I've also tried with ->png and ->jpeg also with the same results... I think I'm doing it right according to http://search.cpan.org/~lds/GD-2.19/GD.pm All it outputs i

Execute commands on the servers through a cgi script

2005-01-08 Thread diogo . senai
Hi guys... I've being trying to do so... but I just can't get it done... I'm trying to execute a command through a CGI... For example... the user types in a textfield: /bin/date -s 20050427, then submmit. This command is sent to the server, and the date is changed... I can't get it done... any idea