Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include problem

Status
Not open for further replies.

glenmac

Technical User
Jul 3, 2002
947
CA
I have a include file I use on .asp pages that works fine. Is there a way to use the include on .html pages? I thought if you changed the extention to .shtml they would work but they're not. All help is greatly appreciated.
 
you need to have server support for includes as well as just changing the extension to .shtml.

do you ahve this support?
why do you need to covnert this if the .asp version include is working? or just curious _________________________________________________________
for the best results to your questions: FAQ333-2924
01001111 01101110 01110000 01101110 01110100
onpnt2.gif
[/sub]
 
Oops sorry the include file was an .asp page. I've changed it to a .txt file and it works fine now.
 
Onpnt. Yes I've set my server up to be able to use includes. I wanted to use the same include I use on my asp pages in my html pages. I've used asp syntax for the asp includes (it's dynamic driven by a DB). Anyhow when I tried useing the same file of course it wouldn't work because the asp.dll wasn't called. So I changed it to a .txt file and it worked fine. Of course it's not dynamic anymore. Just a brainfart on my part!!!. Hope this explains my insanity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top