PHP would work fine, but using it would mean you'd have to set things up a bit differently, including doing things like:
- Running PHP on your server
- Renaming your
- Changing your links to point to the
- Learning at least enough about PHP to use
SSI (Server Side Includes) are some ancient thing that nobody uses. Don't use them. But if you're curious, take a look at mod_include.
Here are some other options to consider.
Another server-side language
XSL transformations are well-suited to this kind of templating, and can be applied either by the browser or on the server. Support is good across browsers, and has been for some time. Extensions like "noscript" tend to break XSL transformations in some browsers, so applying them on the server is usually preferred when possible.
You could simply put your navigation in a separate HTML file and include it in an
iframe on every page. Only use this as a last resort. If you cannot use a server-side language, cannot or do not want to use XSLT, and have relatively few pages, this might work okay. Otherwise, don't do it.