<?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>Interesting Things &#187; PHP</title>
	<atom:link href="http://www.bradshawenterprises.com/blog/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bradshawenterprises.com/blog</link>
	<description>Richard Bradshaw&#039;s idea of what is interesting</description>
	<lastBuildDate>Sat, 10 Dec 2011 17:00:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Dynamically drawing gradients with PHP</title>
		<link>http://www.bradshawenterprises.com/blog/2010/dynamically-drawing-gradients-with-php/</link>
		<comments>http://www.bradshawenterprises.com/blog/2010/dynamically-drawing-gradients-with-php/#comments</comments>
		<pubDate>Mon, 24 May 2010 19:17:08 +0000</pubDate>
		<dc:creator>Richard Bradshaw</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://www.bradshawenterprises.com/blog/?p=531</guid>
		<description><![CDATA[Just a little script to create a PNG image of a simple linear gradient using PHP. You could adapt this to make it better in many ways! Insipired (by which I mean 99% ripped of!) by http://www.cutcodedown.com/ No demo to avoid load on the server, but it just makes a simple gradient. I use it [...]]]></description>
		<wfw:commentRss>http://www.bradshawenterprises.com/blog/2010/dynamically-drawing-gradients-with-php/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to know that your PHP is borked before your clients kill you</title>
		<link>http://www.bradshawenterprises.com/blog/2009/how-to-know-that-your-php-is-borked-before-your-clients-kill-you/</link>
		<comments>http://www.bradshawenterprises.com/blog/2009/how-to-know-that-your-php-is-borked-before-your-clients-kill-you/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 21:12:50 +0000</pubDate>
		<dc:creator>Richard Bradshaw</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Parsing]]></category>
		<category><![CDATA[Syntax Error]]></category>

		<guid isPermaLink="false">http://www.bradshawenterprises.com/blog/?p=190</guid>
		<description><![CDATA[Maybe it&#8217;s just me, but every now and then I make a quick change to a PHP script, don&#8217;t bother checking it, then a few hours/days/months later either realise that I missed a vital semicolon, or mismatched a bracket. This started to get on my nerves, as now this has happened a couple of times [...]]]></description>
		<wfw:commentRss>http://www.bradshawenterprises.com/blog/2009/how-to-know-that-your-php-is-borked-before-your-clients-kill-you/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to use Twitter as an error log</title>
		<link>http://www.bradshawenterprises.com/blog/2009/how-to-use-twitter-as-an-error-log/</link>
		<comments>http://www.bradshawenterprises.com/blog/2009/how-to-use-twitter-as-an-error-log/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 11:47:17 +0000</pubDate>
		<dc:creator>Richard Bradshaw</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.bradshawenterprises.com/blog/?p=188</guid>
		<description><![CDATA[Sure this has been done before, but I had a brainwave today &#8211; why not use Twitter as an error log for web apps? I already have error handling on my functions, so surely this shouldn&#8217;t be a difficult addition&#8230; turns out it&#8217;s not. First, you&#8217;ll need a twitter account. I&#8217;d recommend setting one up, [...]]]></description>
		<wfw:commentRss>http://www.bradshawenterprises.com/blog/2009/how-to-use-twitter-as-an-error-log/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Using Texter to speed up web design/development</title>
		<link>http://www.bradshawenterprises.com/blog/2009/using-texter-to-speed-up-web-designdevelopment/</link>
		<comments>http://www.bradshawenterprises.com/blog/2009/using-texter-to-speed-up-web-designdevelopment/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 13:21:17 +0000</pubDate>
		<dc:creator>Richard Bradshaw</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Lifehacker]]></category>
		<category><![CDATA[texter]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.bradshawenterprises.com/blog/?p=181</guid>
		<description><![CDATA[Lifehacker&#8217;s Texter let&#8217;s you define short macros that allow you type a little, and get a lot back. I&#8217;ve not used this before, but am constantly finding myself typing the same bits over and over and over, so this is a very neat and helpful little tool. Basically, you just define a command, then specify [...]]]></description>
		<wfw:commentRss>http://www.bradshawenterprises.com/blog/2009/using-texter-to-speed-up-web-designdevelopment/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Enable better caching on your website using PHP</title>
		<link>http://www.bradshawenterprises.com/blog/2009/enable-better-caching-on-your-website-using-php/</link>
		<comments>http://www.bradshawenterprises.com/blog/2009/enable-better-caching-on-your-website-using-php/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 12:34:12 +0000</pubDate>
		<dc:creator>Richard Bradshaw</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.bradshawenterprises.com/blog/?p=179</guid>
		<description><![CDATA[Just a quick snippet to help you tell useragents accessing your site that the content hasn&#8217;t changed. ?View Code PHPfunction caching_headers &#40;$file, $timestamp&#41; &#123; $gmt_mtime = gmdate&#40;'r', $timestamp&#41;; header&#40;'ETag: &#34;'.md5&#40;$timestamp.$file&#41;.'&#34;'&#41;; &#160; if&#40;isset&#40;$_SERVER&#91;'HTTP_IF_MODIFIED_SINCE'&#93;&#41; &#124;&#124; isset&#40;$_SERVER&#91;'HTTP_IF_NONE_MATCH'&#93;&#41;&#41; &#123; if &#40;$_SERVER&#91;'HTTP_IF_MODIFIED_SINCE'&#93; == $gmt_mtime &#124;&#124; str_replace&#40;'&#34;', '', stripslashes&#40;$_SERVER&#91;'HTTP_IF_NONE_MATCH'&#93;&#41;&#41; == md5&#40;$timestamp.$file&#41;&#41; &#123; header&#40;'HTTP/1.1 304 Not Modified'&#41;; exit&#40;&#41;; &#125; &#125; &#160; header&#40;'Last-Modified: [...]]]></description>
		<wfw:commentRss>http://www.bradshawenterprises.com/blog/2009/enable-better-caching-on-your-website-using-php/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Friendfeedifying your feeds</title>
		<link>http://www.bradshawenterprises.com/blog/2009/friendfeedifying-your-feeds/</link>
		<comments>http://www.bradshawenterprises.com/blog/2009/friendfeedifying-your-feeds/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 20:17:24 +0000</pubDate>
		<dc:creator>Richard Bradshaw</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[friendfeed]]></category>
		<category><![CDATA[georss]]></category>
		<category><![CDATA[mediarss]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.bradshawenterprises.com/blog/?p=164</guid>
		<description><![CDATA[Although these tips are designed for feeds used with Friendfeed, the first two aren&#8217;t just for that &#8211; it&#8217;s just that Friendfeed exposes the extra functions in it&#8217;s interface. The third tip regarding SUP currently is only really relevant for Friendfeed. To check how your feed renders in Friendfeed, check out their feed tester. This [...]]]></description>
		<wfw:commentRss>http://www.bradshawenterprises.com/blog/2009/friendfeedifying-your-feeds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Writing dynamic XML sitemaps using PHP</title>
		<link>http://www.bradshawenterprises.com/blog/2008/writing-dynamic-xml-sitemaps-using-php/</link>
		<comments>http://www.bradshawenterprises.com/blog/2008/writing-dynamic-xml-sitemaps-using-php/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 16:41:44 +0000</pubDate>
		<dc:creator>Richard Bradshaw</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.bradshawenterprises.com/blog/?p=138</guid>
		<description><![CDATA[Since Google introduced sitemaps in 2005, they have grown to be accepted by the 4 main search engines: Google, Live Search, Yahoo and Ask. As the offical sitemaps page describes: Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, [...]]]></description>
		<wfw:commentRss>http://www.bradshawenterprises.com/blog/2008/writing-dynamic-xml-sitemaps-using-php/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

