<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/copyright</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 16 Feb 2012 12:38:22 GMT</pubDate>
<item>
<title>(PHP) Auto-Updating Date  - florent</title>
<link>http://snipplr.com/view/60013/autoupdating-date-/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 21 Oct 2011 02:26:41 GMT</pubDate>
<guid>http://snipplr.com/view/60013/autoupdating-date-/</guid>
</item>
<item>
<title>(PHP) Auto updating copyright notice - Jeroen</title>
<link>http://snipplr.com/view/52454/auto-updating-copyright-notice/</link>
<description><![CDATA[ <p>__A lot of websites are victim of outdated copyright notices, 2008, 2009 even 2000.__

This function is designed to combat this annoyance, resulting in proper copyright notices. With **valid years**, and also valid **Typography**, separating the dates with an **En dash** and using **character entities**.   

Using this function in your footer will create an output string similar as:   
*****
2008–2011 ©  for $startYear = 2008    
*****
2011 ©  if the $startYear is equal(or bigger) compared to the current year, note that if an invalid date(higher) is passed as the argument the function will still return the current year   
*****
Our company 2011 ©  for $startYear = "Our company" **(not advised)**   
*****
2009–2011 © Our company for $startYear = 2009 and $txt = "Our company" **(advised)**</p> ]]></description>
<pubDate>Fri, 22 Apr 2011 05:51:30 GMT</pubDate>
<guid>http://snipplr.com/view/52454/auto-updating-copyright-notice/</guid>
</item>
<item>
<title>(PHP) Wordpress: Copyright Year Auto-Update - visualadvance</title>
<link>http://snipplr.com/view/49457/wordpress-copyright-year-autoupdate/</link>
<description><![CDATA[ <p>A quick way to have the year automatically update.</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 03:53:54 GMT</pubDate>
<guid>http://snipplr.com/view/49457/wordpress-copyright-year-autoupdate/</guid>
</item>
<item>
<title>(PHP) Get your copyright date correct - graphical_force</title>
<link>http://snipplr.com/view/47169/get-your-copyright-date-correct/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 15 Jan 2011 05:50:03 GMT</pubDate>
<guid>http://snipplr.com/view/47169/get-your-copyright-date-correct/</guid>
</item>
<item>
<title>(PHP) Short automatically updated copyright year - Blerx</title>
<link>http://snipplr.com/view/45714/short-automatically-updated-copyright-year/</link>
<description><![CDATA[ <p>Nice and short</p> ]]></description>
<pubDate>Tue, 14 Dec 2010 20:33:19 GMT</pubDate>
<guid>http://snipplr.com/view/45714/short-automatically-updated-copyright-year/</guid>
</item>
<item>
<title>(PHP) Dynamic startyear / copyright for footer - withinmedianl</title>
<link>http://snipplr.com/view/42379/dynamic-startyear--copyright-for-footer/</link>
<description><![CDATA[ <p>echo's:
2008 / 10 - Company name</p> ]]></description>
<pubDate>Sat, 16 Oct 2010 06:06:58 GMT</pubDate>
<guid>http://snipplr.com/view/42379/dynamic-startyear--copyright-for-footer/</guid>
</item>
<item>
<title>(PHP) Display Dynamic Copyright Year - AzizLight</title>
<link>http://snipplr.com/view/21927/display-dynamic-copyright-year/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 26 Oct 2009 18:05:00 GMT</pubDate>
<guid>http://snipplr.com/view/21927/display-dynamic-copyright-year/</guid>
</item>
<item>
<title>(PHP) Copydate - neobird</title>
<link>http://snipplr.com/view/16328/copydate/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 26 Jun 2009 06:17:15 GMT</pubDate>
<guid>http://snipplr.com/view/16328/copydate/</guid>
</item>
<item>
<title>(PHP) Thesis: Add Copyright to Footer - fabi</title>
<link>http://snipplr.com/view/15494/thesis-add-copyright-to-footer/</link>
<description><![CDATA[ <p>Self-updating copyright</p> ]]></description>
<pubDate>Wed, 03 Jun 2009 21:44:22 GMT</pubDate>
<guid>http://snipplr.com/view/15494/thesis-add-copyright-to-footer/</guid>
</item>
<item>
<title>(PHP) Auto Update Copyright Year - 1man</title>
<link>http://snipplr.com/view/12724/auto-update-copyright-year/</link>
<description><![CDATA[ <p>Very simple snippet to include if you want to auto update the year in a page copyright using PHP.</p> ]]></description>
<pubDate>Mon, 02 Mar 2009 09:38:18 GMT</pubDate>
<guid>http://snipplr.com/view/12724/auto-update-copyright-year/</guid>
</item>
<item>
<title>(PHP) Copyright Updated - SeanJA</title>
<link>http://snipplr.com/view/7772/copyright-updated/</link>
<description><![CDATA[ <p>Starting from here: http://snipplr.com/view/2534/update-copyright-date-in-php/ I made one that is a little more sussinct (sp?)</p> ]]></description>
<pubDate>Fri, 08 Aug 2008 00:25:48 GMT</pubDate>
<guid>http://snipplr.com/view/7772/copyright-updated/</guid>
</item>
<item>
<title>(PHP) Easy start and end copyright date - Pat64</title>
<link>http://snipplr.com/view/7446/easy-start-and-end-copyright-date/</link>
<description><![CDATA[ <p>Change only $start variable with your start year.
This very simple code will display two dates the next year like this :

© Copyright 2008 - 2009, All Rights Reserved.

and so on...</p> ]]></description>
<pubDate>Tue, 22 Jul 2008 18:06:34 GMT</pubDate>
<guid>http://snipplr.com/view/7446/easy-start-and-end-copyright-date/</guid>
</item>
<item>
<title>(PHP) PHP Copyright Date - tigercore</title>
<link>http://snipplr.com/view/5426/php-copyright-date/</link>
<description><![CDATA[ <p>This will always show the correct date... so it'll say "Copyright 2008 Comapany Name" now, and at exactly midnight on 1st January 2009, it'll say "Copyright 2009 Company Name".  Simple!</p> ]]></description>
<pubDate>Fri, 14 Mar 2008 10:35:41 GMT</pubDate>
<guid>http://snipplr.com/view/5426/php-copyright-date/</guid>
</item>
<item>
<title>(PHP) Año del Copyright - neverwolf</title>
<link>http://snipplr.com/view/4590/ao-del-copyright/</link>
<description><![CDATA[ <p>Para mostrar el año del copyright en el pie de la página. Si son varios años, se muestran tipo "2004-2008".</p> ]]></description>
<pubDate>Tue, 15 Jan 2008 07:26:08 GMT</pubDate>
<guid>http://snipplr.com/view/4590/ao-del-copyright/</guid>
</item>
<item>
<title>(PHP) Copyright Year - j_junyent</title>
<link>http://snipplr.com/view/4549/copyright-year/</link>
<description><![CDATA[ <p>Display correctly the Copyright advice</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 20:16:59 GMT</pubDate>
<guid>http://snipplr.com/view/4549/copyright-year/</guid>
</item>
<item>
<title>(PHP) Update Copyright Date in PHP - 1man</title>
<link>http://snipplr.com/view/2534/update-copyright-date-in-php/</link>
<description><![CDATA[ <p>Way to update the footer of a website automatically on 1st Jan.</p> ]]></description>
<pubDate>Wed, 25 Apr 2007 13:29:42 GMT</pubDate>
<guid>http://snipplr.com/view/2534/update-copyright-date-in-php/</guid>
</item>
</channel>
</rss>
