Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts

    include file creating as txt not an inlude file

    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
    <marquee>thanks</marquee>

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts
    i think i have worked it out... i have to make my pages .asp !"!!
    <marquee>thanks</marquee>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •