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 Mark Forums Read
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 01-25-2001, 01:22 PM   #1
Grimez
Registered User
 
Join Date: Jan 2001
Location: Hilton Head, SC, USA
Posts: 97
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!
Grimez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2001, 03:06 PM   #2
xxx-heat
Registered User
 
Join Date: Jan 2001
Location: DK
Posts: 2
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
xxx-heat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2001, 03:22 PM   #3
Grimez
Registered User
 
Join Date: Jan 2001
Location: Hilton Head, SC, USA
Posts: 97
can't be that hard. How does freehosts sites add headers and footer.

------------------
Hey, I'm Dabomb!
Grimez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-25-2001, 10:55 PM   #4
Rictor
Old Timer
 
Industry Role:
Join Date: Jan 2001
Location: Indianapolis
Posts: 12,208
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!
Rictor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2001, 11:53 PM   #5
Doctor Dre
Too lazy to set a custom title
 
Doctor Dre's Avatar
 
Industry Role:
Join Date: Jan 2001
Posts: 51,692
They uses a script =p :0
Doctor Dre is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2001, 07:21 AM   #6
ONS
Registered User
 
Join Date: Jan 2001
Location: Sparta
Posts: 204
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.
ONS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2001, 08:10 AM   #7
Tsunami
Registered User
 
Join Date: Jan 2001
Posts: 5
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.


------------------
Vector Force...Fast, Reliable Hosting!
Tsunami is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2001, 10:03 AM   #8
Grimez
Registered User
 
Join Date: Jan 2001
Location: Hilton Head, SC, USA
Posts: 97
Thanks guys. This question lets me know that it's not easy tryin to be lazy. 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!
Grimez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-03-2003, 08:20 AM   #9
The Bringer
So Fucking Banned
 
Join Date: Dec 2003
Location: Right behind you, staring schemingly into your frail skull...
Posts: 165
The Bringer 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
Thread Tools



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.