<?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>My Blog &#187; PHP</title>
	<atom:link href="http://rewiv.com/blog/catacooga/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://rewiv.com/blog</link>
	<description>My Personal Blog</description>
	<lastBuildDate>Wed, 28 Sep 2011 01:41:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta2</generator>
		<item>
		<title>Finding Extensions in PHP without Reading the Mime Type</title>
		<link>http://rewiv.com/blog/2009/12/12/finding-extensions-in-php-without-reading-the-mime-type/</link>
		<comments>http://rewiv.com/blog/2009/12/12/finding-extensions-in-php-without-reading-the-mime-type/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 23:19:56 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[file handling]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[upload]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://rewiv.com/blog/?p=26</guid>
		<description><![CDATA[For all you geeks, finding an extension, cross platform, because application/type doesn&#8217;t always work with $_FILES['file']['type'] cross platform. The mime information is read differently, I ran into this problem on unix when somebody uploaded a pdf edited on a windows machine. function findExt($f) { $var = $f; $explode = explode('.', $var); $num = count($explode); $ext ... <a href="http://rewiv.com/blog/2009/12/12/finding-extensions-in-php-without-reading-the-mime-type/">Continue Reading</a> ...]]></description>
		<wfw:commentRss>http://rewiv.com/blog/2009/12/12/finding-extensions-in-php-without-reading-the-mime-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restricting an input field to only numbers with preg_match_all() (PHP)</title>
		<link>http://rewiv.com/blog/2009/05/07/restricting-an-input-field-to-only-numbers-with-preg_match_all-php/</link>
		<comments>http://rewiv.com/blog/2009/05/07/restricting-an-input-field-to-only-numbers-with-preg_match_all-php/#comments</comments>
		<pubDate>Thu, 07 May 2009 21:12:09 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[parsing]]></category>
		<category><![CDATA[validate]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://rewiv.com/blog/?p=15</guid>
		<description><![CDATA[This is a pretty easy way to restrict a field to only numbers. The \D in the preg match is short for [^0-9], which will match all characters, except 0-9. I&#8217;m new to the regex, so there might be a better way to do this. But this works for me. I like to do all ... <a href="http://rewiv.com/blog/2009/05/07/restricting-an-input-field-to-only-numbers-with-preg_match_all-php/">Continue Reading</a> ...]]></description>
		<wfw:commentRss>http://rewiv.com/blog/2009/05/07/restricting-an-input-field-to-only-numbers-with-preg_match_all-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

