logo-dw

Go Back   Dreamweaver Club Forums > Community Talk > Dreamweaver Club Cafe
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 01-31-2007, 02:36 PM   #1
fwr1000
 
Join Date: Mar 2006
Location: Manistee, Michigan
Posts: 160
Default Copyright Notices

The sites I've developed all have the "Copyright 200x by XXXXX" in the footer. Now that we've passed into 2007, is it necessary/good idea to change the date to the current year?

thnx
Fred
fwr1000 is offline   Reply With Quote
Old 01-31-2007, 04:29 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

I think it's a good idea, although I'm not sure if this gives you extra protection or not. This is a sample from one of my sites, I have PHP print the current year so I don't have to update it every year.
PHP Code:
Copyright &copy; 2001-<?php echo date("Y");?>
domedia is offline   Reply With Quote
Old 01-31-2007, 05:49 PM   #3
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

that would work if your using PHP

you are using PHP fwr1000?

If you are then dom is correct but just to go 1 better stick the entire footer in a footer.php page then just include it throughout your site / sites
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 01-31-2007, 07:11 PM   #4
fwr1000
 
Join Date: Mar 2006
Location: Manistee, Michigan
Posts: 160
Default

At this point the only PHP I'm using is for from mail (from the DW Club tut) which I have on three sites I've done. Looks like the next step is to up the skills to PHP. I have David Power's Foundation PHP for DW 8 so along with the DW Club I hope to add this to my bag of tricks.

Thanks Dom and Davidj for the info.

Fred
fwr1000 is offline   Reply With Quote
Old 01-31-2007, 07:57 PM   #5
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

try what dom advised

just copy doms footer example into the bottom of your page and hold on tight!!!!
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 01-31-2007, 08:40 PM   #6
d a v e
 
Join Date: Feb 2006
Location: finland
Posts: 1,684
Default

as i understand it you only need the year from which the site went live (i.e. when copyright commenced) but it looks a bit weird so you can use e.g. 1997-2007. opinion does seem to vary as technically putting 2007 means that the copyright didn't exist before, but i'm no lawyer!
d a v e is offline   Reply With Quote
Old 01-31-2007, 09:02 PM   #7
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

and in the U.S. you don't have to claim copyright in order to have it, it's yours by default the moment you make it.. I'm no lawyer either I just follow what everyone else is doing so I add it just to be sure
domedia is offline   Reply With Quote
Old 01-31-2007, 10:01 PM   #8
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

http://www.allbusiness.com/legal/int...ght/652-1.html
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 02-01-2007, 07:55 PM   #9
fwr1000
 
Join Date: Mar 2006
Location: Manistee, Michigan
Posts: 160
Default

I've tried to do the simple paste but can't get it to work. I made a dummy page with dom's code pasted in the body. Saved as .html and uploaded to the server (which does support PHP) Obviously I'm missing something (probably a basic understanding of PHP)

Is there anything that needs to go in the head?
Should the page be a .php page?
Other?

Fred
fwr1000 is offline   Reply With Quote
Old 02-01-2007, 08:06 PM   #10
fwr1000
 
Join Date: Mar 2006
Location: Manistee, Michigan
Posts: 160
Default

figured it out. When I pasted the code the quote marksaround the Ywere converted by dreamweaver
Here's what the paste looked like. &lt;?php echo date(&quot;Y&quot;?&gt;
I went in and cleaned it up to match Dom's example, saved the page at .php uploaded and everything worked as expected.

Thanks for the info.
Fred
fwr1000 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com