I have figured out includes and am having no problem with .php includes, however I have to name the pages .php for it to work. This is fine for making new pages or sections to my site. The problem with that is I have existing .htm pages that I want to incorporate an include code in, and do not want to change .htm extenstion to .php because I would have to start all over again with the site showing up in search engines. Anyway I tried this code...
<!--#include virtual="/urlpath/to/myfile.htm" -->
...and I cant get it to work. What am I supposed to replace the names with? Lets say that I am using "header.htm" as the include, and it is located under a directory on my site titled "flash". Would the code work like this??
<!--#include virtual="/flash/to/header.htm" -->
Or do I have to take the word "to" out? Or do I have to put my full URL in?
<!--#include virtual="/mysite.com/flash/to/header.htm" -->
Had I originally made my extensions .php I would have no problem, but can anyone help write the code for me since it is .htm? I would need to know exactly how to write the code, thanks in advance.........By the way my .php include codes I use are real simple like this <?php include("header.php"); ?>
