<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Never Update the Copyright Year Again (on a PHP page)</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2010/01/13/never-update-the-copyright-year-again-on-a-php-page/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2010/01/13/never-update-the-copyright-year-again-on-a-php-page/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 01:21:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: HighToro</title>
		<link>http://www.scriptygoddess.com/archives/2010/01/13/never-update-the-copyright-year-again-on-a-php-page/comment-page-1/#comment-644072</link>
		<dc:creator>HighToro</dc:creator>
		<pubDate>Wed, 03 Feb 2010 20:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1628#comment-644072</guid>
		<description>This maybe works better:

&lt;code&gt;
/**
 * Arma leyenda de copyright del tipo &#169; 2009 Toro Corp. o &#169; 2009-2010 Toro Corp. tomando como a#o de inicio el indicado como parametro y el a#o actual como final.
 * @param unknown_type $anno_desde
 * @return unknown_type
 */
function copyright_vigente($anno_desde = 2009) {
	$anno_actual = date(&#039;Y&#039;);
	$devolucion_annos = &quot;&#169; $anno_actual&quot;;
	if ($anno_actual &gt; $anno_desde) {
		$devolucion_annos = &quot;&#169; $anno_desde-$anno_actual&quot;;
	}
	return $devolucion_annos;
}
&lt;/code&gt;

Example:

&lt;code&gt;
$copy_tt = copyright_vigente(2009);
echo $copy_tt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>This maybe works better:</p>
<p><code><br />
/**<br />
 * Arma leyenda de copyright del tipo &copy; 2009 Toro Corp. o &copy; 2009-2010 Toro Corp. tomando como a#o de inicio el indicado como parametro y el a#o actual como final.<br />
 * @param unknown_type $anno_desde<br />
 * @return unknown_type<br />
 */<br />
function copyright_vigente($anno_desde = 2009) {<br />
	$anno_actual = date('Y');<br />
	$devolucion_annos = "&copy; $anno_actual";<br />
	if ($anno_actual &gt; $anno_desde) {<br />
		$devolucion_annos = "&copy; $anno_desde-$anno_actual";<br />
	}<br />
	return $devolucion_annos;<br />
}<br />
</code></p>
<p>Example:</p>
<p><code><br />
$copy_tt = copyright_vigente(2009);<br />
echo $copy_tt;<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara</title>
		<link>http://www.scriptygoddess.com/archives/2010/01/13/never-update-the-copyright-year-again-on-a-php-page/comment-page-1/#comment-644059</link>
		<dc:creator>Sara</dc:creator>
		<pubDate>Wed, 03 Feb 2010 02:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1628#comment-644059</guid>
		<description>Thanks for the reminder, I need to put that in my footers. :)</description>
		<content:encoded><![CDATA[<p>Thanks for the reminder, I need to put that in my footers. <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.scriptygoddess.com/archives/2010/01/13/never-update-the-copyright-year-again-on-a-php-page/comment-page-1/#comment-644029</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Mon, 01 Feb 2010 21:09:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1628#comment-644029</guid>
		<description>Hey Jennifer, thanks for the great tip. Just put this one up in my Delicious library.</description>
		<content:encoded><![CDATA[<p>Hey Jennifer, thanks for the great tip. Just put this one up in my Delicious library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tcoburn</title>
		<link>http://www.scriptygoddess.com/archives/2010/01/13/never-update-the-copyright-year-again-on-a-php-page/comment-page-1/#comment-643977</link>
		<dc:creator>tcoburn</dc:creator>
		<pubDate>Sun, 31 Jan 2010 02:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1628#comment-643977</guid>
		<description>Yeah I always forget about that.

I saw a page the other day, with a &quot;mailto:&quot; link listed on it, that a major web development company developed for a blind client, my best friend Chad, who has a website for a karaoke show he puts on here locally, he does this for a living, he&#039;s a really talented performer.

I keep thinking &quot;gosh, he&#039;s gonna get so much spam in his email its not funny&quot;.   I thought that was a horrible thing to do to a fellow blind person. I told him I&#039;d fix it for him, but he says &quot;well no thanks they know what their doing&quot;.  well apparently not if they left a mailto link right to an email address for a spammer to harvest right on the front page of his website.

He&#039;s been a friend of mine since the 4th grade. I feel so bad for him, but maybe I&#039;m making too much out of this, I don&#039;t know.   Least they could have covered it with Javascript or something. 

There is a major learning curve in using speech software for the blind, to read email and webpages to us,  there&#039;s like a ton of different hotkeys to memorize, and he&#039;s going to get frustrated if over half his email is going to be spam.</description>
		<content:encoded><![CDATA[<p>Yeah I always forget about that.</p>
<p>I saw a page the other day, with a &#034;mailto:&#034; link listed on it, that a major web development company developed for a blind client, my best friend Chad, who has a website for a karaoke show he puts on here locally, he does this for a living, he&#039;s a really talented performer.</p>
<p>I keep thinking &#034;gosh, he&#039;s gonna get so much spam in his email its not funny&#034;.   I thought that was a horrible thing to do to a fellow blind person. I told him I&#039;d fix it for him, but he says &#034;well no thanks they know what their doing&#034;.  well apparently not if they left a mailto link right to an email address for a spammer to harvest right on the front page of his website.</p>
<p>He&#039;s been a friend of mine since the 4th grade. I feel so bad for him, but maybe I&#039;m making too much out of this, I don&#039;t know.   Least they could have covered it with Javascript or something. </p>
<p>There is a major learning curve in using speech software for the blind, to read email and webpages to us,  there&#039;s like a ton of different hotkeys to memorize, and he&#039;s going to get frustrated if over half his email is going to be spam.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Rampersad</title>
		<link>http://www.scriptygoddess.com/archives/2010/01/13/never-update-the-copyright-year-again-on-a-php-page/comment-page-1/#comment-643446</link>
		<dc:creator>Ryan Rampersad</dc:creator>
		<pubDate>Wed, 13 Jan 2010 21:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/?p=1628#comment-643446</guid>
		<description>Great tip! Sometimes when I work with plain static pages, I use a bit of javascript to change the year dynamically.</description>
		<content:encoded><![CDATA[<p>Great tip! Sometimes when I work with plain static pages, I use a bit of javascript to change the year dynamically.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

