actually I was planning to launch html based gallery. Since, its an automated web gallery, it's impossible for me to edit each and every html file to get my code in. I want to add my header links in all my files, I was just looking if any one could help me how to achieve it. Just editing or including 1 page/file must embed in all the html pages in the particular directory
if you use dreamweaver, a simple solution would be to "find and replace" your "entire current local site" or "folder" by selecting a part of the html code in the header and adding whatever you want to add. PM me for more details if this will help solve your purpose.
Otherwise, what you're looking for is called a template engine (not to be confused with a design template). They are usually written in PHP but are also often found in Perl, Python, and other OOP languages. They dynamically load the html for you (thus stuff like your header is only written once, and one change will change that part for ALL your pages). The problem with the ones floating around online is that many of them load the html incorrectly. You can either write your own or try to find one that generally validates (was written by someone who understands and cares about proper html). Apparently ones like Mambo and Joomla are closest to decent, but that's heresay as I've never used them myself (my company uses a hand-written Perl one).
actually I am using "Easy Web Gallery" software to create galleries. So, its not possible to do it manually. So, I am looking possible solution to sort out this issue, ya I know about Joomla I had used it but it didn't meet my needs
Hi, i think if you include a php page with all of your pages then it will work fine. then you need to correct that php page only.
^Tha't's the template, in PHP : ) On bad thing about PHP is that it lets you write really sloppy code. PHP6 whenever it comes out, will adhere more to the normal programing standards like namespaces instead of just globals. So, while it's one of the easier ones to start out with, it's also easy to make security vulnerabilities too.