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)
-   -   Automatic headers and footers on my webpages (https://gfy.com/showthread.php?t=30295)

Grimez 01-25-2001 01:22 PM

Automatic headers and footers on my webpages
 
How can I set up an automatic header and footer on my webpages, and is there a way to have it not add to pages that i've already added the footers to? I'm tired of typing the same links on the bottom of each page. Link back to home and counter bs.

------------------
Hey, I'm Dabomb!

xxx-heat 01-25-2001 03:06 PM

either use PHP
<?php include("header.txt"); ?>
and rename the files to .php or .phtml or write a .htacces to be able to use php on .htm pages

or use SSI
think it's something like this:
< !--#include virtual="header.txt"-->
rename the files to .shtml or again wirte the .htacces

regards

Grimez 01-25-2001 03:22 PM

can't be that hard. How does freehosts sites add headers and footer.

------------------
Hey, I'm Dabomb!

Rictor 01-25-2001 10:55 PM

I assume freehosts use CGI to add headers and footers.

As for galleries, I create a template for my text links in Notepad and then cut and paste it into my new gallery pages so I don't have to type that crap anymore. It takes me about 30 seconds to make a new gallery. It takes longer to upload them than make them if you use a template. The one drawback is that all your galleries look the same...but some TGP owners like that...if your galleries are quality then they will automatically recognize your unique template.

------------------
PigPorn TGP Big Penis Webmaster Program - Free Bannerless Hosting!

Doctor Dre 01-26-2001 11:53 PM

They uses a script =p :0

ONS 01-27-2001 07:21 AM

I must agree with Rictor's method edit in notepad and then cut and paste it into the html file it's quick simple and easy to update or make minor changes periodically.

Tsunami 01-27-2001 08:10 AM

I use a simple cgi script on my sites for header/footers.Works like a champ.

xxx-heat said it, use SSI to call the cgi, simply place the < !--#exec cgi="cgi-bin/on/your server.cgi" --> tag in the html
and you're in business..

If you want the script fire off an e-mail to me and I'll give it to you. http://bbs.gofuckyourself.com/board/smile.gif


------------------
Vector Force...Fast, Reliable Hosting!

Grimez 01-27-2001 10:03 AM

Thanks guys. This question lets me know that it's not easy tryin to be lazy. http://bbs.gofuckyourself.com/board/smile.gif I figured that freehosts added stuff to your pages after it was uploaded so it wouldn't be a problem to do it with my domain. I'll try the scripts, and on my other domain the old way. Thanks again.

------------------
Hey, I'm Dabomb!

The Bringer 12-03-2003 08:20 AM

:disgust


All times are GMT -7. The time now is 09:57 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123