<cfparam name="pdf" default="">
<cfif pdf neq "">
<cftry>
<cfcontent type="application/pdf" file="#pdf#" deletefile="No">
<cfcatch>
Requested file not found.
</cfcatch>
</cftry>
<cfelse>
No file specified.
</cfif>
(completely untested)
Jerry Johnson
>>> [EMAIL PROTECTED] 01/31/03 02:50PM >>>
Hey,
Anyone have a quick snippet they use in order to push out documents with
cfheader/CFCONTENT? Also on the mime type of a pdf??
Many thanks
Tim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5