![]() |
adding header/footers to all html pages
adding header/footers to all html pages.. just like the free hosts.. but can ya do that with jsut .htaccess?
|
Best thing I've found for just such a thing, is to use a Library object. Then when you wanna change something in either one, just change it in the library, and all your pages will automatically be updated.
------------------ http://www.porn-matrix.com/assets/btn-pm1.gif |
|
Quote:
Yes, there are Apache modules that can do that and they can be controlled from .htaccess. ------------------ Pay-As-You-Go Hosting FREE Trial! Below $.90/GB Dedicated Hosting EnergyHosting - Energizing your business |
or do a sitewide source search/replace for [body] -> [body][headercode]
and [/body] -> [footercode][/body] ][= >< [This message has been edited by Roberto (edited 11-17-2001).] |
try php, all you need to do is adding a single line like:
<?php include("header.html"); ?> put this line up to your page(s) where you want your header appear... <?php include("footer.html"); ?> put this line up to your page(s) where you want your footer appear... if you're on a paid hosting i'm sure latest version of php's already installed. enjoy! damn i looove this php shit! ------------------
|
hahaha, shit
server executed the code i guess, they didn't appear... anyway, icq me if you want those lines @ 5306227 ------------------
|
All times are GMT -7. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123