![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
|
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
|
thank you
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
|
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Oct 2001
Posts: 1,459
|
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2001
Posts: 257
|
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! ------------------
|
![]() |
![]() ![]() ![]() ![]() ![]() |