<?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>WebDesign&#38;Such &#187; PHP</title>
	<atom:link href="http://webdesignandsuch.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdesignandsuch.com</link>
	<description>a Beantown Design Production</description>
	<lastBuildDate>Sat, 14 Jan 2012 20:09:53 +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>Add an auto-updating Copyright to your website with PHP</title>
		<link>http://webdesignandsuch.com/add-an-auto-updating-copyright-to-your-website-with-php/</link>
		<comments>http://webdesignandsuch.com/add-an-auto-updating-copyright-to-your-website-with-php/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 22:20:40 +0000</pubDate>
		<dc:creator>mike ilz</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webdesignandsuch.com/?p=944</guid>
		<description><![CDATA[It's important to keep an updated copyright in the footer of your website. You want your website to be up to date, but you don’t want to have to manually change the copyright date every year. There are multiple ways of pulling this off, including Javascript and PHP.  

I'll show you the PHP method here, and give you the code you need for your website or blog.]]></description>
			<content:encoded><![CDATA[<p>In a <strong><a href="http://webdesignandsuch.com/2010/02/add-an-auto-updating-copyright-on-your-website-with-javascript/">previous post</a></strong> I explained why it is important to keep an updated copyright in the footer of your website. You want your website to be up to date, but you don&#8217;t want to have to manually change the copyright date every year. In that example I gave you the code to use Javascript to output the year. Well in some cases it may make more sense to use PHP to output the copyright year instead, so that&#8217;s what I&#8217;ll do in this post. Check out the demo, and then grab the code for your website or WordPress blog.</p>
<p><a class="demo-link" href="http://www.webdesignandsuch.com/posts/php-copyright/index.php">View Demo</a></p>
<p><span id="more-944"></span></p>
<p>All you need to do is paste the following code right into the XHTML where you want the copyright to show up, PHP does the rest!</p>
<pre class="brush: php; title: ; notranslate">&amp;copy; &lt;?php echo date( 'Y' ); ?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://webdesignandsuch.com/add-an-auto-updating-copyright-to-your-website-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

