But, someone can probably download your include files (if they know the name). A more secure way is to name the files with a "#" at the beginning and then browsers will not be able to download them, plus you will get back your syntax highlighting. For example, if you have a file called include.inc and you invoke it with
<cfinclude template="include.inc"> Just change the file to #include.cfm and invoke it with <cfinclude template="##include.cfm"> Regards, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101 inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server >>> Find out how iMS Stacks up to the competition: >http://www.coolfusion.com/imssecomparison.cfm ----- Original Message ----- From: "Costas Piliotis" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 6:34 PM Subject: Dreamweaver MX Question > In my site, I've renamed my include files with a .inc extension. > > Does anyone know how I get the color coding in DWMX to work with .inc files? > > And before anyone starts flaming me on why I do that, I do this because it > makes it so an include file cannot be invoked directly from a browser... > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm 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

