<?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>Crainbandy &#187; PHP</title>
	<atom:link href="http://www.crainbandy.com/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.crainbandy.com</link>
	<description>For Web Developers</description>
	<lastBuildDate>Tue, 25 May 2010 20:50:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to fix the __PHP_Incomplete_Class Object error in PHP $_SESSION&#8217;s</title>
		<link>http://www.crainbandy.com/programming/php/how-to-fix-the-__php_incomplete_class-error-in-php-_sessions</link>
		<comments>http://www.crainbandy.com/programming/php/how-to-fix-the-__php_incomplete_class-error-in-php-_sessions#comments</comments>
		<pubDate>Wed, 13 May 2009 18:36:24 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Fixes]]></category>
		<category><![CDATA[How To's]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=796</guid>
		<description><![CDATA[		
		
		
		I ran into a problem recently where I was instantiating an object and passing it login credentials in order to authenticate a user. If the users email address and password were correct my method will return me an object containing all of an individual users information that&#8217;s important to their $_SESSION so it can persist [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/php/how-to-fix-the-__php_incomplete_class-error-in-php-_sessions/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dr. Myspace &#8211; Create RSS Feeds From Myspace Artist Tour Dates</title>
		<link>http://www.crainbandy.com/programming/introducing-drmyspacecom-create-rss-feeds-from-myspace-artist-tour-dates</link>
		<comments>http://www.crainbandy.com/programming/introducing-drmyspacecom-create-rss-feeds-from-myspace-artist-tour-dates#comments</comments>
		<pubDate>Wed, 11 Feb 2009 08:05:48 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Data Mining and Scraping]]></category>
		<category><![CDATA[Myspace]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Dr. Myspace]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=669</guid>
		<description><![CDATA[		
		
		
		If you haven&#8217;t read my post on using PHP and Simple HTML DOM parser to scrape artist tour dates off myspace then check that out first seeing as this post starts where that one ended. I&#8217;ve received countless emails and noticed in my Google Analytics a large percentage of visitors reach my site by searching [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/introducing-drmyspacecom-create-rss-feeds-from-myspace-artist-tour-dates/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using PHP and Simple HTML DOM Parser to scrape artist tour dates off MySpace</title>
		<link>http://www.crainbandy.com/programming/using-php-and-simple-html-dom-parser-to-scrape-artist-tour-dates-off-myspace</link>
		<comments>http://www.crainbandy.com/programming/using-php-and-simple-html-dom-parser-to-scrape-artist-tour-dates-off-myspace#comments</comments>
		<pubDate>Tue, 10 Feb 2009 16:17:12 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Data Mining and Scraping]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=450</guid>
		<description><![CDATA[		
		
		
		UPDATED 2/11/2009 &#8211; Check out the new post on creating RSS feeds from myspace artist tour dates and the launch of dr. myspace
Have you ever visited a web page and seen information that you&#8217;d like in another format or through a different medium, but you just don&#8217;t have that option? Lets take artist tour dates [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/using-php-and-simple-html-dom-parser-to-scrape-artist-tour-dates-off-myspace/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Setting up a web server with PHP, MySQL and Apache on Windows XP</title>
		<link>http://www.crainbandy.com/programming/php/setting-up-a-web-server-with-php-mysql-and-apache-on-windows-xp</link>
		<comments>http://www.crainbandy.com/programming/php/setting-up-a-web-server-with-php-mysql-and-apache-on-windows-xp#comments</comments>
		<pubDate>Thu, 13 Nov 2008 01:46:14 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Video Tutorial]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=508</guid>
		<description><![CDATA[		
		
		
		This tutorial is designed to help newbies get a web server setup and running. This tutorial will take you from no web server, to a fully working WAMP (Windows, Apache, MySQL and PHP) web server installation including &#8220;Hello World&#8221; in PHP for the hell of it.
Usually any software bundle for web development has a few [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/php/setting-up-a-web-server-with-php-mysql-and-apache-on-windows-xp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email Address Validation in PHP</title>
		<link>http://www.crainbandy.com/programming/email-address-validation-in-php</link>
		<comments>http://www.crainbandy.com/programming/email-address-validation-in-php#comments</comments>
		<pubDate>Wed, 12 Nov 2008 23:45:28 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=520</guid>
		<description><![CDATA[		
		
		
		One of the most common values that needs validation in PHP is the email address. You use this to signup for about 95% of websites. Email address validation isn&#8217;t necessarily difficult but if you&#8217;re unfamiliar with regular expressions and aren&#8217;t currently using a pre-built validation class or some other type of validation library, it can [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/email-address-validation-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crop an Image with PHP</title>
		<link>http://www.crainbandy.com/programming/crop-an-image-with-php</link>
		<comments>http://www.crainbandy.com/programming/crop-an-image-with-php#comments</comments>
		<pubDate>Fri, 07 Nov 2008 00:36:09 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=434</guid>
		<description><![CDATA[		
		
		
		I spent a few minutes working on this function that lets me crop the center of an image by width and height. Sometimes you want to create a photo gallery and use album covers for the image that links to the gallery page. Most of the time you want these images to be of a [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/crop-an-image-with-php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Data sanitization in PHP</title>
		<link>http://www.crainbandy.com/programming/data-sanitization-in-php</link>
		<comments>http://www.crainbandy.com/programming/data-sanitization-in-php#comments</comments>
		<pubDate>Tue, 28 Oct 2008 16:20:27 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.crainbandy.com/?p=362</guid>
		<description><![CDATA[		
		
		
		I&#8217;m going to show you a simple, yet effective way to clean your data (sanitize it) before you attempt to insert into your database. I prefer using the $_REQUEST superglobal array instead of just $_POST or $_GET.
$_REQUEST encompasses $_GET, $_POST, and $_COOKIE inside one array.
We take the $_REQUEST array and do a foreach() loop over [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/data-sanitization-in-php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Templates &amp; PHP together in harmony</title>
		<link>http://www.crainbandy.com/programming/templates-php-together-in-harmony</link>
		<comments>http://www.crainbandy.com/programming/templates-php-together-in-harmony#comments</comments>
		<pubDate>Wed, 30 Aug 2006 12:31:15 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">https://crainbandy.com/2006/08/22/templates-php-together-in-harmony/</guid>
		<description><![CDATA[		
		
		
		NOTE: There were a couple bugs in this code, but they&#8217;ve been fixed. Feel free to copy and paste this code (following the instructions), and test for yourself. The newly corrected code is in bold. 
So a lot of people ask me how I seperate &#8220;business logic&#8221; from &#8220;display logic&#8221; in my sites and just [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/templates-php-together-in-harmony/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Profiling your PHP scripts (performance benchmark)</title>
		<link>http://www.crainbandy.com/programming/profiling-your-php-scripts-performance-benchmark</link>
		<comments>http://www.crainbandy.com/programming/profiling-your-php-scripts-performance-benchmark#comments</comments>
		<pubDate>Sat, 26 Aug 2006 14:28:10 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">https://crainbandy.com/2006/08/26/profiling-your-php-scripts-performance-benchmark/</guid>
		<description><![CDATA[		
		
		
		This is going to be a short post. I&#8217;m going to show you my profiling class and explain it block by block, then I&#8217;m going to stop typing and click the &#8220;Publish&#8221; button on the bottom right hand corner, capisci? Good.
A little summary &#8211; &#8220;What is profiling &#38; performance benchmarking anyways?&#8221;
This provides a way for [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/profiling-your-php-scripts-performance-benchmark/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data validation in PHP</title>
		<link>http://www.crainbandy.com/programming/data-validation-in-php</link>
		<comments>http://www.crainbandy.com/programming/data-validation-in-php#comments</comments>
		<pubDate>Tue, 22 Aug 2006 11:53:17 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">https://crainbandy.com/2006/08/22/data-validation-in-php/</guid>
		<description><![CDATA[		
		
		
		Update: I have a new post that explains data sanitization.
One of the most important things to do in any PHP script or program, interface whatever it may be is to check the data and verify it&#8217;s what YOU want and not allow any spoofs. One of the biggest most common pitfalls newer programmers make (and [...]]]></description>
		<wfw:commentRss>http://www.crainbandy.com/programming/data-validation-in-php/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
