Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: BLOBs
Date: Sep 24 1997 8:32PM
Loren Delamarter wrote:
> Here's my little imageFetch cgi script which has been working for
> quite a while for retrieving Adobe Acrobat PDF files. It should work
> for any type of binary object including GIFs etc. You would just
> change the "Content-type: application/pdf\n\n" line to your type.
But you can't really mix this with text, can you? (ie have an
tag where the source is this script instead of being a file)
> The other thing is that you should probably "binmode(STDOUT);"
> to make the script work for graphics.
binmode() is only for Win32 systems where there automatic conversion
from CR/LF to LF... It's a no-op under Unix.
> $dbh->dbcmd("set textsize $TEXTSIZE");
You can also use
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler