<snip>
> > > use CGI qw(header); > > use DBI; > > my $dbh = ... > > print header('image/jpeg'); > > my($jpegguts) = $dbh->selectrow_array('SELECT jpegguts FROM > > myimg > > WHERE id = 35'); > > print $jpegguts; > > > >HTH > > It's a start, but it gives me the output like: > > Content-Type: image/jpeg and a bunch of garbled-gook :( >
In a browser or via command line?
You'll have to put an image tag <IMG src="myjpg.cgi?id=35"> into html
That works. :)
Cheers.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]