[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Can't get #include to work

Posted on 2003-11-25
2
Medium Priority
?
328 Views
Last Modified: 2013-11-18
I have an HTML page, test.html:

<HTML>
<Body>
Test Page<BR><BR>

<!--#include file="test.inc" -->

</Body>
</HTML>

This will not work for the life of me and I don't get why.  There IS a file called test.inc present in the current directory.  I've tried FILE and VIRTUAL with and without relative and absoltute filenames, differently named files, text only and heml content... and I can't get any results beyond the heading.  Usually the result is:

Test Page
</HT

What stupid thing am I missing?

Thanks!
0
Comment
Question by:tomrwilson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
ADSaunders earned 200 total points
ID: 9818759
Hi tomrwilson,
Doesn't the file need to an https or asp (jsp ....) before server side includes are acted on?

Cheers! .. Alan
0
 

Author Comment

by:tomrwilson
ID: 9818765
Yes, I just figured it out and was deleting the question; you must have answered seconds before I triedthe deletion.  Oh well, enjoy and thanks. :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question