[kwlug-disc] Can someone help?
Shane
shane.msg at gmail.com
Wed May 5 09:53:47 EDT 2010
Thanks. There used to be an easier way using an attribute of - I believe it was the "<a" tag. It was told that when the page was loaded, insert the contents of the external file. Progress.
Now I have to go back into the fog to try and figure out what it was. Not for any practical reason - just to know.
================It's not the size of the dog in the fight, it's the size of the fight in the dog.
-----Original Message-----
From: "John Van Ostrand" <john at netdirect.ca>
Date: Wed, 5 May 2010 07:43:18
To: <kwlug-disc at kwlug.org>
Subject: Re: [kwlug-disc] Can someone help?
The easiest way we do this is using PHP.
Create header.php as the header including HEAD and BODY tags. Then create
page.php with only HTML.
Then create .htaccess file and use php's directive "auto_prepend_file"
giving header.php as the file. I don't recal the exact syntax, search for
that directive.
Then the header.php file is called every time page.php is called.
----- Original Message -----
From: kwlug-disc-bounces at kwlug.org <kwlug-disc-bounces at kwlug.org>
To: KWLUG <kwlug-disc at kwlug.org>
Sent: Wed May 05 01:46:43 2010
Subject: [kwlug-disc] Can someone help?
This is not specific to Linux. I am playing with website development and
the number of pages is growing. The problem is that I want to keep the page
heading area the same on all pages. If it becomes necessary to change the
page head I'd rather not have to do 36 changes; 36 now.
When I did this before, there was a way by setting a separate document and
calling copies of it whenever the page was loaded, automatically setting up
the heading.
Trouble is, I forget how to do it and I can't remember what this process of
inserting text from other files is called so I have been unable to look it
up. I've tried many possibilities but nothing has worked.
================It's not the size of the dog in the fight, it's the size of
the fight in the dog.
_______________________________________________
kwlug-disc_kwlug.org mailing list
kwlug-disc_kwlug.org at kwlug.org
http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org
_______________________________________________
kwlug-disc_kwlug.org mailing list
kwlug-disc_kwlug.org at kwlug.org
http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org
More information about the kwlug-disc
mailing list