I forgot to add that there is a custom tag called cfx_putimage and
cfx_getimage that will put and get binary information from your db -
done through blobs. Then, through cfcontent, you would display your word
doc.

Mark

-----Original Message-----
From: Steve Martin [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 10:52 AM
To: CF-Talk
Subject: RE: Words Docs & Coldfusion


Word docs are binary files and CF isn't too hot at handling binary data
from
databases. You'll probably have to use some sort of custom tag (Java or
C++)
to return the binary data to the browser with the appropriate headers or
write it to a temp file and use CFCONTENT in the manner indicated by
Mark
(albeit with the deletefile attribute set to yes) to grab the tmp file
and
serve it. Alternatively, you could store the documents as RTF which is
purely textual and then have CF return that in the usual manner, using
CFCONTENT to supply the appropriate mime header to the output stream.

Steve

> -----Original Message-----
> From: Mark Stewart [mailto:[EMAIL PROTECTED]]
> Sent: 26 October 2001 15:11
> To: CF-Talk
> Subject: RE: Words Docs & Coldfusion
>
>
> <cfcontent type="application/msword" file="filename"
> deletefile="No">
>
> Mark
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 26, 2001 6:22 AM
> To: CF-Talk
> Subject: Words Docs & Coldfusion
>
>
> Hi
>
> I currently have MS Word docs stored in an Oracle database. I wish to
> display these in a web browser via Coldfusion.
>
> Is this possible using Coldfusion and what is the best method of
> achieving so ?
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to