You can do it. I do it all of the time.

I use:

<!--#include virtual="/ssi/mycffile.cfm"-->

Make sure your file is named with the .shtml extension.

Also make sure your server is set up to parse .shtml as Server Side Include
pages.

I'm stuck with a situation where most of our pages are put together using
SSI, but I often want to include dynamic component on pages. Since I'm a CF
programer and not a PERL programmer, I've got to use CF.  So thank God this
does work.

H.



> -----Original Message-----
> From: Eric Fickes [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 04, 2001 9:19 AM
> To:   CF-Talk
> Subject:      <!-#include file="cfFile.cfm" ->
> 
> Hello all,
> 
> Has anyone ever included a cfm file inside of a .html file?  I've got an
> HTML page that I would like to include a small CF page inside of and I
> can't
> seem to get it to work.  I've tried the following
> 
> <!-#include file="cfFile.cfm" ->
> 
> <!-#include virtual="cfFile.cfm" ->
> 
> and neither seem to do anything.  Any ideas?
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to