<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Redaware Limited - Computer Services &#38; Business IT Solutions in Tenbury Wells, Worcestershire &#187; PHP</title>
	<atom:link href="http://www.redaware.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redaware.net</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 10:49:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP Snippet: Dynamic copyright notice</title>
		<link>http://www.redaware.net/2009/11/php-snippet-dynamic-copyright-notice/</link>
		<comments>http://www.redaware.net/2009/11/php-snippet-dynamic-copyright-notice/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 14:22:39 +0000</pubDate>
		<dc:creator>tsymonds</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.redaware.net/?p=148</guid>
		<description><![CDATA[This how to use PHP to code a dynamic copyright notice:]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This how to use PHP to code a dynamic copyright notice: </p>
<pre class="brush: php; title: ; notranslate">
&lt;p&gt;
&lt;?php
$firstyear = &quot;2009&quot;;
$currentyear = date(&quot;Y&quot;);
if ($currentyear==$firstyear)
  echo &quot;copyright © &quot;.$firstyear.&quot; company Limited, all rights reserved.&quot;;
else
  echo &quot;copyright © &quot;.$firstyear.&quot;-&quot;.$currentyear.&quot; company Limited, all rights reserved.&quot;;
?&gt;
&lt;p&gt;
</pre>
<div class="shr-publisher-148"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.redaware.net/2009/11/php-snippet-dynamic-copyright-notice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

