I'll take a whack at it, thanks much!

>Something like:
>
><!--- make sure user is authenticated --->
>
><!--- read in the file as binary. --->
><cffile action="readbinary"
>file="#expandpath('../../../path/to/excel/file/stored/outside/web/root/excel.xls')#"
>variable="myvar">
>
><!--- Then display it inline with cfcontent and correct mime header
>(assuming the user's browser settings allow ...)? --->
><cfcontent variable="#myvar#" type="application/msexcel">
>
>Note: if you need to do this "in" a page that has other stuff on it, you
>could use a frame or an iframe.
>
>
>
>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344168
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to