View Full Version : include file creating as txt not an inlude file

05-26-2007, 02:41 PM
Hi guys I am creating dynamic pages using Server.CreateObject("Scripting.FileSystemObject") and also .CreateTextFile this is working and I am making my pages fine.. but within this page i am writing to a htm page and within this i have the code for an include file...

<!-- #INCLUDE FILEcontent.txt" -->

the htm page opens fine from my code but the include is just coming in as text and not an include file ??? so hence its not pulling in my content.txt into the htm file...

hope this makes sense.. if you have any ideas why,, i would be so so greatfull
:) cheers chris

05-26-2007, 02:48 PM
i think i have worked it out... i have to make my pages .asp !"!!