Thread: Question about Headers (I think)
Results 1 to 6 of 6
Related
-
Professional Logo Design, Headers/Banners and Cartoon Logo Design Forum: Internet Services
Replies: 0 -
Warning: Cannot modify header information - headers already sent by (output started a Forum: PHP Forum
Replies: 5 -
Question Forum: Website Scripts Forum
Replies: 1 -
Premature end of script headers error Forum: CGI Perl Forum
Replies: 1 -
Yet another question? Forum: HTML Forum
Replies: 3
-
04-04-2001, 11:05 AM #1
Question about Headers (I think)
I was wondering if anyone could point me to something that would explain how to use headers on my site. I think thats what you call them anyway. If not this is what I would like to do. I want to be able to use the same file for the top part of all my pages that way it makes it much easier to maintain everything. Now I believe I have seen something about this before but at the time I really didnt think much of it but now I cant seem to find anything about it. If anyone could point me in the right direction or tell me a little about it. It would be appreciated.
------------------
Shadow
-
04-04-2001, 12:11 PM #2
You can do it with either SSI or external Javascript files.
http://bignosebird.com/sdocs/include.shtml http://htmlgoodies.earthweb.com/beyond/ssi.html http://htmlgoodies.earthweb.com/beyond/extjs.html
------------------
-
04-04-2001, 12:11 PM #3
Are you talking about Style-Sheets?
Or Includes?
Gis a clue.... what info do you want in there?
------------------
QuietDean-
-
04-05-2001, 01:04 AM #4
Well for one i have the same image at the top of almost all my pages. But the major thing is the menu I have. I wanted to be able to make changes to it without having to add it to all the pages. I know frames can make it easy to do this but I wanted to stay away from using frames for that.
And thanx Enigma I will look at those sites to.
------------------
Shadow
-
04-05-2001, 01:49 AM #5
In a nutshell -
All the html you want to 'include', paste it into a text file and call it something.txt ot .html
Whack it onto the server, then in each page you write use -
<!--include virtual="something.txt" -->
The space after the double quote is important, dont forget it.
Each page has to be saved as .shtml
Thsi is so the server parses it for the command you have put in. This also means that the server HAS to support SSI, or Server Side Includes.
NOTE - dont put <HEAD>, <BODY> or any of those type of tags in the included file, otherwise you will have a page with two heads etc.
------------------
-
04-10-2001, 02:48 PM #6
you could use php, which also needs to be placed on a cgi server if your on spaceports
and it would look like
<?php
include("http://urlto.com/file.ext");
?>