<?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/auto</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 18:38:30 GMT</pubDate>
<item>
<title>(PHP) auto link urls in text / string - rwunsch</title>
<link>http://snipplr.com/view/60649/auto-link-urls-in-text--string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Nov 2011 04:52:53 GMT</pubDate>
<guid>http://snipplr.com/view/60649/auto-link-urls-in-text--string/</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) Codeigniter Auto Complete Search - myke</title>
<link>http://snipplr.com/view/40578/codeigniter-auto-complete-search/</link>
<description><![CDATA[ <p>example I used to create a auto suggest search from that pulls from a database.  The example pulls from a single db table containing categories.  Using jQueryUI made this pretty painless but by default the autocomplete feature uses GET variables and you must enable these in your Codeigniter settings to work properly.\r\n\r\nThis example uses POST variables instead so the js is modified accordingly.</p> ]]></description>
<pubDate>Thu, 16 Sep 2010 13:15:33 GMT</pubDate>
<guid>http://snipplr.com/view/40578/codeigniter-auto-complete-search/</guid>
</item>
<item>
<title>(PHP) WordPress AutoLogin - oriontimbers</title>
<link>http://snipplr.com/view/39933/wordpress-autologin/</link>
<description><![CDATA[ <p>Code snippet that allows the user to be automatically logged in on account creation, this works with s2Member since they allow the user to create their own password.</p> ]]></description>
<pubDate>Fri, 03 Sep 2010 04:38:54 GMT</pubDate>
<guid>http://snipplr.com/view/39933/wordpress-autologin/</guid>
</item>
<item>
<title>(PHP) top nav auto highlight - deadmoon</title>
<link>http://snipplr.com/view/1318/top-nav-auto-highlight/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 06 Oct 2006 04:31:48 GMT</pubDate>
<guid>http://snipplr.com/view/1318/top-nav-auto-highlight/</guid>
</item>
</channel>
</rss>