<?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"
	>
<channel>
	<title>Comments on: Detecting File Type Extension of Uploaded File</title>
	<atom:link href="http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/</link>
	<description>Tech, Tips, Free Downloads, How-To, Reviews, SEO, Make Money Online, Engineering</description>
	<pubDate>Thu, 24 Jul 2008 02:11:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Nick</title>
		<link>http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/#comment-938</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 20 Jun 2008 16:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/#comment-938</guid>
		<description>// Build the tmp path    
$pathInfo = $pathinfo(basename($_FILES['uploadedvideo']['name']));
$fileExt = $pathInfo['extension'];</description>
		<content:encoded><![CDATA[<p>// Build the tmp path<br />
$pathInfo = $pathinfo(basename($_FILES['uploadedvideo']['name']));<br />
$fileExt = $pathInfo['extension'];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/#comment-581</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 07 May 2008 02:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/#comment-581</guid>
		<description>Hi Matt,

I'm not sure about that. I *thought* image/x-png and image/png always get png covered?

If all fails, try the second method. I tend to use that since I would not need to remember the MIME types, and you can target speciafically the file type extensions.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I&#8217;m not sure about that. I *thought* image/x-png and image/png always get png covered?</p>
<p>If all fails, try the second method. I tend to use that since I would not need to remember the MIME types, and you can target speciafically the file type extensions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt moeller</title>
		<link>http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/#comment-580</link>
		<dc:creator>matt moeller</dc:creator>
		<pubDate>Tue, 06 May 2008 21:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidtan.org/detecting-file-type-extension-of-uploaded-file/#comment-580</guid>
		<description>happen to know what the type is for png?  image/x-png and image/png don't work properly. Atleast on a win2k3 server with php5. thanks</description>
		<content:encoded><![CDATA[<p>happen to know what the type is for png?  image/x-png and image/png don&#8217;t work properly. Atleast on a win2k3 server with php5. thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
