<?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/file</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 19:25:16 GMT</pubDate>
<item>
<title>(PHP) Disable the WordPress file editor. - tacudtap</title>
<link>http://snipplr.com/view/70459/disable-the-wordpress-file-editor/</link>
<description><![CDATA[ <p>Add this snippet to `wp-config.php` to remove the file editor links from the WordPress admin menus. Read more about... [disabling the WordPress file editor](http://www.orderofbusiness.net/blog/disable-wordpress-file-editor/)</p> ]]></description>
<pubDate>Tue, 19 Mar 2013 00:32:26 GMT</pubDate>
<guid>http://snipplr.com/view/70459/disable-the-wordpress-file-editor/</guid>
</item>
<item>
<title>(PHP) Download File with a Speed Limit in PHP - apphp-snippets</title>
<link>http://snipplr.com/view/70084/download-file-with-a-speed-limit-in-php/</link>
<description><![CDATA[ <p>This snippet allows you set a limitation for download rate of the file that visitors download from your site.</p> ]]></description>
<pubDate>Mon, 25 Feb 2013 18:41:51 GMT</pubDate>
<guid>http://snipplr.com/view/70084/download-file-with-a-speed-limit-in-php/</guid>
</item>
<item>
<title>(PHP) Get File Extension in PHP - apphp-snippets</title>
<link>http://snipplr.com/view/70079/get-file-extension-in-php/</link>
<description><![CDATA[ <p>This code allows to pass filename in the $file_name variable and function will return file extension only.</p> ]]></description>
<pubDate>Sun, 24 Feb 2013 20:16:27 GMT</pubDate>
<guid>http://snipplr.com/view/70079/get-file-extension-in-php/</guid>
</item>
<item>
<title>(PHP) Get File Path Data in PHP - apphp-snippets</title>
<link>http://snipplr.com/view/70020/get-file-path-data-in-php/</link>
<description><![CDATA[ <p>You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.</p> ]]></description>
<pubDate>Wed, 20 Feb 2013 21:26:53 GMT</pubDate>
<guid>http://snipplr.com/view/70020/get-file-path-data-in-php/</guid>
</item>
<item>
<title>(PHP) Debug log to File - davidlukerice</title>
<link>http://snipplr.com/view/69106/debug-log-to-file/</link>
<description><![CDATA[ <p>Also tries to log with elgg (Used when testing elgg plugins).
Just remove the or elgg_log(...) if not using it.</p> ]]></description>
<pubDate>Fri, 14 Dec 2012 09:36:17 GMT</pubDate>
<guid>http://snipplr.com/view/69106/debug-log-to-file/</guid>
</item>
<item>
<title>(PHP) Javascript : Validate file upload - laxman2021</title>
<link>http://snipplr.com/view/69006/javascript--validate-file-upload/</link>
<description><![CDATA[ <p>Image file upload, javascript</p> ]]></description>
<pubDate>Fri, 07 Dec 2012 16:33:55 GMT</pubDate>
<guid>http://snipplr.com/view/69006/javascript--validate-file-upload/</guid>
</item>
<item>
<title>(PHP) PHP SSH API class - ryantxr</title>
<link>http://snipplr.com/view/67668/php-ssh-api-class/</link>
<description><![CDATA[ <p>This SSH API is used to execute remote commands, send and receive files.</p> ]]></description>
<pubDate>Wed, 10 Oct 2012 00:31:19 GMT</pubDate>
<guid>http://snipplr.com/view/67668/php-ssh-api-class/</guid>
</item>
<item>
<title>(PHP) Find a file (including subdirectory search) - VisionHive</title>
<link>http://snipplr.com/view/67021/find-a-file-including-subdirectory-search/</link>
<description><![CDATA[ <p>This function searches the current working directory (or any other directory path that you specify with parameter $p) for a file, named $f, and returns the full path and filename of the first occurrence, or false if it is either not found or the maximum number of comparisons is reached. The return value is relative to the executing script, so you can safely pass this function to other file-handling functions, e.g. fopen(FFIND("my.file")); or file(FFIND("my.file"));</p> ]]></description>
<pubDate>Sat, 01 Sep 2012 13:39:00 GMT</pubDate>
<guid>http://snipplr.com/view/67021/find-a-file-including-subdirectory-search/</guid>
</item>
<item>
<title>(PHP) How to Remove Directories Recursively with PHP -  updated method - fackz</title>
<link>http://snipplr.com/view/66200/how-to-remove-directories-recursively-with-php---updated-method/</link>
<description><![CDATA[ <p>This function removes a directory and its contents.
Use with careful, no undo!</p> ]]></description>
<pubDate>Wed, 18 Jul 2012 12:29:37 GMT</pubDate>
<guid>http://snipplr.com/view/66200/how-to-remove-directories-recursively-with-php---updated-method/</guid>
</item>
<item>
<title>(PHP) list all files in directory - ne7son</title>
<link>http://snipplr.com/view/65972/list-all-files-in-directory/</link>
<description><![CDATA[ <p>list all files in directory and subdirectory</p> ]]></description>
<pubDate>Thu, 05 Jul 2012 23:35:04 GMT</pubDate>
<guid>http://snipplr.com/view/65972/list-all-files-in-directory/</guid>
</item>
<item>
<title>(PHP) RSS Feed Caching - crypticsoft</title>
<link>http://snipplr.com/view/65477/rss-feed-caching/</link>
<description><![CDATA[ <p>Note: This also uses a flat file to cache the results, be sure to also upload the 'rss_cache.txt' file. 

Usage:
</p> ]]></description>
<pubDate>Fri, 08 Jun 2012 09:23:58 GMT</pubDate>
<guid>http://snipplr.com/view/65477/rss-feed-caching/</guid>
</item>
<item>
<title>(PHP) Getting files, folders, file count, folder count in a directory with php - duzenz</title>
<link>http://snipplr.com/view/62962/getting-files-folders-file-count-folder-count-in-a-directory-with-php/</link>
<description><![CDATA[ <p>Getting files, folders, file count, folder count in a directory with php and writing them to a web page</p> ]]></description>
<pubDate>Wed, 01 Feb 2012 06:30:29 GMT</pubDate>
<guid>http://snipplr.com/view/62962/getting-files-folders-file-count-folder-count-in-a-directory-with-php/</guid>
</item>
<item>
<title>(PHP) File Download (with file_put_contents) - kairy2k9</title>
<link>http://snipplr.com/view/60926/file-download-with-fileputcontents/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Nov 2011 20:27:28 GMT</pubDate>
<guid>http://snipplr.com/view/60926/file-download-with-fileputcontents/</guid>
</item>
<item>
<title>(PHP) Delete directory and its content recursively - spcmnk</title>
<link>http://snipplr.com/view/59540/delete-directory-and-its-content-recursively/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 07 Oct 2011 23:46:14 GMT</pubDate>
<guid>http://snipplr.com/view/59540/delete-directory-and-its-content-recursively/</guid>
</item>
<item>
<title>(PHP) Get file size from URL - Heol</title>
<link>http://snipplr.com/view/59294/get-file-size-from-url/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 30 Sep 2011 22:36:21 GMT</pubDate>
<guid>http://snipplr.com/view/59294/get-file-size-from-url/</guid>
</item>
<item>
<title>(PHP) Test PayPal ipn to file - hotdiggity</title>
<link>http://snipplr.com/view/58881/test-paypal-ipn-to-file/</link>
<description><![CDATA[ <p>Writes to a text file, test.txt, instead of email for the purposes of testing.</p> ]]></description>
<pubDate>Wed, 21 Sep 2011 09:24:17 GMT</pubDate>
<guid>http://snipplr.com/view/58881/test-paypal-ipn-to-file/</guid>
</item>
<item>
<title>(PHP) Get filename without extension - antti</title>
<link>http://snipplr.com/view/57579/get-filename-without-extension/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 03 Aug 2011 21:11:46 GMT</pubDate>
<guid>http://snipplr.com/view/57579/get-filename-without-extension/</guid>
</item>
<item>
<title>(PHP) Extract Body - vitruvo</title>
<link>http://snipplr.com/view/57535/extract-body/</link>
<description><![CDATA[ <p>Easily extract the Content from a HTML Page with this tiny function.</p> ]]></description>
<pubDate>Wed, 03 Aug 2011 00:33:29 GMT</pubDate>
<guid>http://snipplr.com/view/57535/extract-body/</guid>
</item>
<item>
<title>(PHP) Obtener fichero de un dir con nombre parcial - dato</title>
<link>http://snipplr.com/view/57281/obtener-fichero-de-un-dir-con-nombre-parcial/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 29 Jul 2011 00:29:35 GMT</pubDate>
<guid>http://snipplr.com/view/57281/obtener-fichero-de-un-dir-con-nombre-parcial/</guid>
</item>
<item>
<title>(PHP) Read Text File - mukeshdak</title>
<link>http://snipplr.com/view/57095/read-text-file/</link>
<description><![CDATA[ <p>Use this code to read a text file in PHP</p> ]]></description>
<pubDate>Mon, 25 Jul 2011 01:53:18 GMT</pubDate>
<guid>http://snipplr.com/view/57095/read-text-file/</guid>
</item>
</channel>
</rss>