Need help with copyright
Posted: 22 March 2006 09:40 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2006-03-22

I would like to simplify my life and make an external page to change the copyright notice on all my webpages - instead of changing them page by page. Do I use CSS for that? If so, how do I go about accomplishing that?

Profile
 
 
Posted: 23 March 2006 01:14 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  11
Joined  2006-03-14

Easiest way to do it is using php..
Make a php page called footer.php with your copyright info etc.. then place <?php include (“footer.php”); ?> on everypage where you want it to appear..
That way if you ever need to change contact details or whatever you can..

Profile
 
 
Posted: 24 March 2006 01:08 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2006-03-22

Ok, I guess I don’t know that much about php. How do I make a php page.  I have tried several ways and nothing shows up.

Profile
 
 
Posted: 26 March 2006 06:39 AM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  18
Joined  2005-07-19

There are a lot of tutorials online for you to learn from, one of which could be from w3schools, although not the best, it’s adequate to get an understanding.  The best thing to do is to research it and figure out what you wish to do, if nothing else, just a bit of sage advice, to make a basic php page, declare everything like you would an html page but just put the php tag where you want it:

<html>
<
head>
<
title>My First PHP Page</title>
</
head>
<
body>
<?php include ("footer.php"); ?>
</body>
</
html

You have to name it .php or else it will be pointless, it won’t work (I would think).

W3Schools (Link)

Profile