<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/files</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 08:32:11 GMT</pubDate>
<item>
<title>(PHP) Quick img tag - claudiowebdesign</title>
<link>http://snipplr.com/view/58227/quick-img-tag/</link>
<description><![CDATA[ <p>If you keep all image files to be displayed in a directory this could be a quicker and simplier way to write the proper tag</p> ]]></description>
<pubDate>Sat, 27 Aug 2011 05:55:40 GMT</pubDate>
<guid>http://snipplr.com/view/58227/quick-img-tag/</guid>
</item>
<item>
<title>(PHP) Get a file extension from a file using PHP - lewiswalsh</title>
<link>http://snipplr.com/view/58092/get-a-file-extension-from-a-file-using-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 23 Aug 2011 00:30:52 GMT</pubDate>
<guid>http://snipplr.com/view/58092/get-a-file-extension-from-a-file-using-php/</guid>
</item>
<item>
<title>(PHP) Unzip files in PHP - julioantuneztarin</title>
<link>http://snipplr.com/view/55383/unzip-files-in-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 17 Jun 2011 11:21:56 GMT</pubDate>
<guid>http://snipplr.com/view/55383/unzip-files-in-php/</guid>
</item>
<item>
<title>(PHP) get file extension - soup</title>
<link>http://snipplr.com/view/53790/get-file-extension/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 19 May 2011 21:03:16 GMT</pubDate>
<guid>http://snipplr.com/view/53790/get-file-extension/</guid>
</item>
<item>
<title>(PHP) Unzip Files - dubogii</title>
<link>http://snipplr.com/view/53681/unzip-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 17 May 2011 20:04:36 GMT</pubDate>
<guid>http://snipplr.com/view/53681/unzip-files/</guid>
</item>
<item>
<title>(PHP) PHP Write File Directory - sedgemonkey</title>
<link>http://snipplr.com/view/49393/php-write-file-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Feb 2011 13:41:37 GMT</pubDate>
<guid>http://snipplr.com/view/49393/php-write-file-directory/</guid>
</item>
<item>
<title>(PHP) Scan directory contents recursively - noelj</title>
<link>http://snipplr.com/view/46139/scan-directory-contents-recursively/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 26 Dec 2010 16:50:09 GMT</pubDate>
<guid>http://snipplr.com/view/46139/scan-directory-contents-recursively/</guid>
</item>
<item>
<title>(PHP) Parse files in a directory and output list (example: tinymce emoticons/emotions) - hamsterbacke82</title>
<link>http://snipplr.com/view/46046/parse-files-in-a-directory-and-output-list-example-tinymce-emoticonsemotions/</link>
<description><![CDATA[ <p>run this from plugins/emotions and copy/paste the output to emotions.htm</p> ]]></description>
<pubDate>Wed, 22 Dec 2010 20:05:50 GMT</pubDate>
<guid>http://snipplr.com/view/46046/parse-files-in-a-directory-and-output-list-example-tinymce-emoticonsemotions/</guid>
</item>
<item>
<title>(PHP) Map a Directory - mscribellito</title>
<link>http://snipplr.com/view/45496/map-a-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Dec 2010 12:59:18 GMT</pubDate>
<guid>http://snipplr.com/view/45496/map-a-directory/</guid>
</item>
<item>
<title>(PHP) RSS Feed Folder v1.1 - karlhorky</title>
<link>http://snipplr.com/view/43740/rss-feed-folder-v11/</link>
<description><![CDATA[ <p>This script is a modification of the RSS Feed Folder script available at http://www.rssFeedFolder.com/ . The original script created an RSS feed based on the latest changed  files by html title and meta description tags. My modification removes the html components of the original script, instead aiming to generate an RSS feed with the latest files (recursive) in the specified directory.


The updated script achieves this by looping recursively through all directories that it finds within the specified path and listing out the file names and modification times (filemtime) as it goes. Once it has an array of all filenames with their modification times, it reverse sorts this list and does an array_slice on the first $rssMaxItems to be displayed. Finally, the script echos all the items in RSS format.</p> ]]></description>
<pubDate>Mon, 08 Nov 2010 11:05:02 GMT</pubDate>
<guid>http://snipplr.com/view/43740/rss-feed-folder-v11/</guid>
</item>
<item>
<title>(PHP) Download counter - eme_dlr</title>
<link>http://snipplr.com/view/43524/download-counter/</link>
<description><![CDATA[ <p>Counts the number of times that a file has been downloaded, using PHP and mySQL</p> ]]></description>
<pubDate>Thu, 04 Nov 2010 05:37:53 GMT</pubDate>
<guid>http://snipplr.com/view/43524/download-counter/</guid>
</item>
<item>
<title>(PHP) match_files_in_directory - mattkenefick</title>
<link>http://snipplr.com/view/43075/matchfilesindirectory/</link>
<description><![CDATA[ <p>Returns an array of files that match a search term in a certain directory.</p> ]]></description>
<pubDate>Thu, 28 Oct 2010 02:59:22 GMT</pubDate>
<guid>http://snipplr.com/view/43075/matchfilesindirectory/</guid>
</item>
<item>
<title>(PHP) Load Folder into PHP array - sandman7OR</title>
<link>http://snipplr.com/view/38711/load-folder-into-php-array/</link>
<description><![CDATA[ <p>Loops through all files of a certain extension in the specified directory.  Can be used to list all images in a given directory.</p> ]]></description>
<pubDate>Sun, 08 Aug 2010 07:59:39 GMT</pubDate>
<guid>http://snipplr.com/view/38711/load-folder-into-php-array/</guid>
</item>
<item>
<title>(PHP) Delete temporary files - fackz</title>
<link>http://snipplr.com/view/37980/delete-temporary-files/</link>
<description><![CDATA[ <p>This example shows how to delete specific files after a given time span.
This works good for cleaning cached files.</p> ]]></description>
<pubDate>Wed, 28 Jul 2010 07:42:16 GMT</pubDate>
<guid>http://snipplr.com/view/37980/delete-temporary-files/</guid>
</item>
<item>
<title>(PHP) Eliminar directorio con ficheros dentro - jrobinsonc</title>
<link>http://snipplr.com/view/30915/eliminar-directorio-con-ficheros-dentro/</link>
<description><![CDATA[ <p>Delete a directory including its contents.</p> ]]></description>
<pubDate>Mon, 05 Apr 2010 08:09:06 GMT</pubDate>
<guid>http://snipplr.com/view/30915/eliminar-directorio-con-ficheros-dentro/</guid>
</item>
<item>
<title>(PHP) Calculate file size with range i.e bytes, kb, mb, gb - ReeceMarsland</title>
<link>http://snipplr.com/view/28502/calculate-file-size-with-range-ie-bytes-kb-mb-gb/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 17 Feb 2010 10:31:40 GMT</pubDate>
<guid>http://snipplr.com/view/28502/calculate-file-size-with-range-ie-bytes-kb-mb-gb/</guid>
</item>
<item>
<title>(PHP) filename to icon - renaars</title>
<link>http://snipplr.com/view/26487/filename-to-icon/</link>
<description><![CDATA[ <p>works with fugue icons, but can be custumized</p> ]]></description>
<pubDate>Fri, 15 Jan 2010 04:43:15 GMT</pubDate>
<guid>http://snipplr.com/view/26487/filename-to-icon/</guid>
</item>
<item>
<title>(PHP) get a list of files ordered by upload time - fackz</title>
<link>http://snipplr.com/view/26088/get-a-list-of-files-ordered-by-upload-time/</link>
<description><![CDATA[ <p>This is another way to get a list of files ordered by upload time.</p> ]]></description>
<pubDate>Thu, 07 Jan 2010 13:01:28 GMT</pubDate>
<guid>http://snipplr.com/view/26088/get-a-list-of-files-ordered-by-upload-time/</guid>
</item>
<item>
<title>(PHP) Save  files names in array - stancox</title>
<link>http://snipplr.com/view/21540/save--files-names-in-array/</link>
<description><![CDATA[ <p>without scandir() function</p> ]]></description>
<pubDate>Wed, 21 Oct 2009 05:05:11 GMT</pubDate>
<guid>http://snipplr.com/view/21540/save--files-names-in-array/</guid>
</item>
<item>
<title>(PHP) count files in a given dir - fackz</title>
<link>http://snipplr.com/view/17836/count-files-in-a-given-dir/</link>
<description><![CDATA[ <p>count files in a given dir</p> ]]></description>
<pubDate>Mon, 03 Aug 2009 09:55:23 GMT</pubDate>
<guid>http://snipplr.com/view/17836/count-files-in-a-given-dir/</guid>
</item>
</channel>
</rss>
