<?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>Edmonds Commerce &#187; file</title>
	<atom:link href="http://www.edmondscommerce.co.uk/tag/file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edmondscommerce.co.uk</link>
	<description>Freelance PHP Ecommerce and SEO Developer in the UK</description>
	<lastBuildDate>Tue, 07 Feb 2012 17:14:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>PHP Force Download with Custom Filename</title>
		<link>http://www.edmondscommerce.co.uk/php/php-force-download-with-custom-filename/</link>
		<comments>http://www.edmondscommerce.co.uk/php/php-force-download-with-custom-filename/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 15:22:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[as]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[force]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[txt]]></category>

		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/?p=2902</guid>
		<description><![CDATA[If you want to serve up text files for download (perhaps product feeds etc) then you might like this little snippet. Not only will it force the file to be downloaded but it allows you to specify a custom filename that it should be saved as. PLAIN TEXT PHP: if&#40;isset&#40;$_GET&#91;'download_file'&#93;&#41;&#41;&#123; &#160; &#160; header&#40;"Content-type: application/octet-stream"&#41;; &#160; [...]]]></description>
		<wfw:commentRss>http://www.edmondscommerce.co.uk/php/php-force-download-with-custom-filename/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Merged CSS Clear Not Working + Solution</title>
		<link>http://www.edmondscommerce.co.uk/magento/magento-merged-css-clear-not-working-solution/</link>
		<comments>http://www.edmondscommerce.co.uk/magento/magento-merged-css-clear-not-working-solution/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 18:42:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[clear]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/?p=2737</guid>
		<description><![CDATA[If you are having an issue with Magento and the optional Merge CSS Files (beta) turned on and it not updating with recent CSS changes, you may appreciate this. Unlike other cached elements that are stored in var/cache, Magento stores the cached and minified CSS files in media/css If you simply delete the contents of [...]]]></description>
		<wfw:commentRss>http://www.edmondscommerce.co.uk/magento/magento-merged-css-clear-not-working-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu &#8220;No such file or directory&#8221; When it does exist + Solution</title>
		<link>http://www.edmondscommerce.co.uk/ubuntu/ubuntu-no-such-file-or-directory-when-it-does-exist-solution/</link>
		<comments>http://www.edmondscommerce.co.uk/ubuntu/ubuntu-no-such-file-or-directory-when-it-does-exist-solution/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 17:40:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[does]]></category>
		<category><![CDATA[exist]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[not]]></category>
		<category><![CDATA[solution]]></category>

		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/?p=2487</guid>
		<description><![CDATA[If you are tearing your hair out trying to figure out why trying to run something is complaining that it doesn't exist when it clearly does, this is quite possibly your solution. The problem is most likely that you are trying to run a 32bit package on a 64bit system. The solution is easy enough, [...]]]></description>
		<wfw:commentRss>http://www.edmondscommerce.co.uk/ubuntu/ubuntu-no-such-file-or-directory-when-it-does-exist-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Media Save Path Dispretion Method</title>
		<link>http://www.edmondscommerce.co.uk/magento/magento-media-save-path-dispretion-method/</link>
		<comments>http://www.edmondscommerce.co.uk/magento/magento-media-save-path-dispretion-method/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 15:28:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[dispretion]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[upload]]></category>

		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/?p=2142</guid>
		<description><![CDATA[If you want to calculate the actual save path that Magento will use for an image file for example then you might find yourself scouring the source code for the specific method that does this. It's not the easiest to find, in fact its tucked away in the lib folder inside the Varien_File_Uploader class. The [...]]]></description>
		<wfw:commentRss>http://www.edmondscommerce.co.uk/magento/magento-media-save-path-dispretion-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Split File (eg CSV) and Keep Header Row</title>
		<link>http://www.edmondscommerce.co.uk/linux/linux-split-file-eg-csv-and-keep-header-row/</link>
		<comments>http://www.edmondscommerce.co.uk/linux/linux-split-file-eg-csv-and-keep-header-row/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 15:04:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[split]]></category>

		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/?p=1219</guid>
		<description><![CDATA[Linux has a great little utility called split, which can take a file and split it into chunks of whatever size you want, eg 100 line chunks. However, for CSV files etc, each chunk generally needs to have the header row in there. Unfortunately the split command doesn't have an option for that. However with [...]]]></description>
		<wfw:commentRss>http://www.edmondscommerce.co.uk/linux/linux-split-file-eg-csv-and-keep-header-row/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Build Table from File PHP Function</title>
		<link>http://www.edmondscommerce.co.uk/php/build-table-from-file-php-function/</link>
		<comments>http://www.edmondscommerce.co.uk/php/build-table-from-file-php-function/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 12:27:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/?p=1179</guid>
		<description><![CDATA[This little PHP function will allow you to import a csv or tab etc delimited text file into a database table. Handy if you need it PLAIN TEXT PHP: function build_table_from_file&#40;$tablename, $filepath, $delim="\t"&#41; &#123; &#160; &#160; db_query&#40;"DROP TABLE IF EXISTS $tablename"&#41;; &#160; &#160; $fp=fopen&#40;$filepath, 'r'&#41;; &#160; &#160; $headers=false; &#160; &#160; while&#40;$r=&#40;&#40;$delim=='csv'&#41;?fgetcsv&#40;$fp&#41;:fgets&#40;$fp&#41;&#41;&#41; &#123; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://www.edmondscommerce.co.uk/php/build-table-from-file-php-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

