I'm redesigning a website (About 150-200 pages), and want to know if it's possible to have a CGI/Perl or PHP script read from one template, and a content file, and build a webpage. For example:
The template has a header, and a CSS navigation bar (tested for accessibility), and a space for the content. There's also a horizontal navbar that changes based on which subpage it is. I would like to have a simple page just for the content (i.e., page1.html, page2.html, etc.). It's sort of like the way a CSS is (1 page handles the formatting for hundreds).
Question 1: Is there anything that does this? I've seen web portals, but I'm not sure if that's what I want.
Question 2: Which is more accessible? CGI/Perl, or PHP? (The website I work on only has CGI, but I'm not sure how to use it though).