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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-17-2001, 04:43 PM   #1
whoreans
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?
whoreans is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2001, 04:46 PM   #2
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
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.

------------------
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2001, 06:04 PM   #3
whoreans
Confirmed User
 
Join Date: Jun 2001
Location: Queens NY
Posts: 1,407
thank you
whoreans is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2001, 06:29 PM   #4
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Quote:
Originally posted by whoreans:
adding header/footers to all html pages.. just like the free hosts.. but can ya do that with jsut .htaccess?

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
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2001, 06:51 PM   #5
Roberto
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).]
Roberto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2001, 07:32 PM   #6
Unfed
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!



------------------
  • ProAdult - Brand New AVS with kick ass hosting
Unfed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2001, 07:37 PM   #7
Unfed
Confirmed User
 
Join Date: May 2001
Posts: 257
hahaha, shit

server executed the code i guess, they didn't appear...

anyway, icq me if you want those lines @ 5306227



------------------
  • ProAdult - Brand New AVS with kick ass hosting
Unfed is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.