GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   adding header/footers to all html pages (https://gfy.com/showthread.php?t=42458)

whoreans 11-17-2001 04:43 PM

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?

Amputate Your Head 11-17-2001 04:46 PM

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

whoreans 11-17-2001 06:04 PM

thank you http://bbs.gofuckyourself.net/board/smile.gif

RK 11-17-2001 06:29 PM

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

Roberto 11-17-2001 06:51 PM

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).]

Unfed 11-17-2001 07:32 PM

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 11-17-2001 07:37 PM

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


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