<?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/recursive</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 16 Feb 2012 04:44:55 GMT</pubDate>
<item>
<title>(PHP) Perform git pull on subdirectory (recursive) - luizlopes</title>
<link>http://snipplr.com/view/62314/perform-git-pull-on-subdirectory-recursive/</link>
<description><![CDATA[ <p>A fast and easy way to go through all vim-pathogen bundles and perform a git pull on all of them.</p> ]]></description>
<pubDate>Thu, 05 Jan 2012 08:09:07 GMT</pubDate>
<guid>http://snipplr.com/view/62314/perform-git-pull-on-subdirectory-recursive/</guid>
</item>
<item>
<title>(PHP) Class to list/remove recursively files into a directory - fgbreel</title>
<link>http://snipplr.com/view/61791/class-to-listremove-recursively-files-into-a-directory/</link>
<description><![CDATA[ <p>Class to list/remove recursively files into a directory</p> ]]></description>
<pubDate>Sat, 10 Dec 2011 06:26:24 GMT</pubDate>
<guid>http://snipplr.com/view/61791/class-to-listremove-recursively-files-into-a-directory/</guid>
</item>
<item>
<title>(PHP) Recursive chmod in PHP - madc</title>
<link>http://snipplr.com/view/60573/recursive-chmod-in-php/</link>
<description><![CDATA[ <p>Heavily based on "Recursive chmod in PHP" by Tenzer ( 03/10/08 http://snipplr.com/view/5350/ )</p> ]]></description>
<pubDate>Sun, 06 Nov 2011 08:06:07 GMT</pubDate>
<guid>http://snipplr.com/view/60573/recursive-chmod-in-php/</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) Recursive in_array - FeN_X</title>
<link>http://snipplr.com/view/59099/recursive-inarray/</link>
<description><![CDATA[ <p>Find one or all values of an array in another array.</p> ]]></description>
<pubDate>Mon, 26 Sep 2011 21:28:02 GMT</pubDate>
<guid>http://snipplr.com/view/59099/recursive-inarray/</guid>
</item>
<item>
<title>(PHP) nested Array search by value or key - Japan</title>
<link>http://snipplr.com/view/51108/nested-array-search-by-value-or-key/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 25 Mar 2011 12:40:27 GMT</pubDate>
<guid>http://snipplr.com/view/51108/nested-array-search-by-value-or-key/</guid>
</item>
<item>
<title>(PHP) Recursive Glob File Tree - danoph</title>
<link>http://snipplr.com/view/48610/recursive-glob-file-tree/</link>
<description><![CDATA[ <p>There are a lot of recursive glob functions out there but they don't build a tree, they build a 1 dimensional array...This function builds a directory tree.</p> ]]></description>
<pubDate>Tue, 08 Feb 2011 21:41:36 GMT</pubDate>
<guid>http://snipplr.com/view/48610/recursive-glob-file-tree/</guid>
</item>
<item>
<title>(PHP) Recursively unset an array key - thesmart</title>
<link>http://snipplr.com/view/30808/recursively-unset-an-array-key/</link>
<description><![CDATA[ <p>This function takes an array and a key that is unwanted.  It will recurse through and unset the key in the argument array and all its sub-arrays.</p> ]]></description>
<pubDate>Fri, 02 Apr 2010 16:46:42 GMT</pubDate>
<guid>http://snipplr.com/view/30808/recursively-unset-an-array-key/</guid>
</item>
<item>
<title>(PHP) Print recursive in pre-formatted tags - andyhartleeds</title>
<link>http://snipplr.com/view/30170/print-recursive-in-preformatted-tags/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 23 Mar 2010 10:27:44 GMT</pubDate>
<guid>http://snipplr.com/view/30170/print-recursive-in-preformatted-tags/</guid>
</item>
<item>
<title>(PHP) Easy folder structure set up - chlab</title>
<link>http://snipplr.com/view/28038/easy-folder-structure-set-up/</link>
<description><![CDATA[ <p>Here is a function you can use to automatically set up a complex folder structure with a specified file mode. All you have to do is create the "root" directory and pass an array describing the folder structure you would like to create in it. If the directory already contains a part of the desired directory structure, the script will set the specified file mode on every existing folder. There's an example how to use the function at the bottom of the snippet.

I use this to set up user home's. I tested this with PHP 5.2.11 on Apache running on Mac OS X. It should work on most Linux servers. It won't work on Windows.

This function should be easy to modify for your needs or integrate into a class. Have fun.</p> ]]></description>
<pubDate>Tue, 09 Feb 2010 09:34:41 GMT</pubDate>
<guid>http://snipplr.com/view/28038/easy-folder-structure-set-up/</guid>
</item>
<item>
<title>(PHP) PHP recursive remove directory - ginoplusio</title>
<link>http://snipplr.com/view/27562/php-recursive-remove-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 02 Feb 2010 10:50:52 GMT</pubDate>
<guid>http://snipplr.com/view/27562/php-recursive-remove-directory/</guid>
</item>
<item>
<title>(PHP) Dir size recursive php function - ginoplusio</title>
<link>http://snipplr.com/view/24824/dir-size-recursive-php-function/</link>
<description><![CDATA[ <p>Calculate dir size recursive, follow the link above because the version above is better.</p> ]]></description>
<pubDate>Tue, 15 Dec 2009 11:32:25 GMT</pubDate>
<guid>http://snipplr.com/view/24824/dir-size-recursive-php-function/</guid>
</item>
<item>
<title>(PHP) Recursive chmod - ginoplusio</title>
<link>http://snipplr.com/view/22175/recursive-chmod/</link>
<description><![CDATA[ <p>recursively chmod files to 644 and directories to 755</p> ]]></description>
<pubDate>Fri, 30 Oct 2009 09:48:36 GMT</pubDate>
<guid>http://snipplr.com/view/22175/recursive-chmod/</guid>
</item>
<item>
<title>(PHP) array to xml - kesonno</title>
<link>http://snipplr.com/view/20229/array-to-xml/</link>
<description><![CDATA[ <p>/**
	 * Traduce ricorsivamente un array multidimensionale 
	 * nella corrispondente struttura XML.
	 * 
	 * @param mixed $array Array da tradurre
	 * @return string
	*/</p> ]]></description>
<pubDate>Thu, 24 Sep 2009 16:39:35 GMT</pubDate>
<guid>http://snipplr.com/view/20229/array-to-xml/</guid>
</item>
<item>
<title>(PHP) Recursive Iterator - smoover</title>
<link>http://snipplr.com/view/17909/recursive-iterator/</link>
<description><![CDATA[ <p>By requinix</p> ]]></description>
<pubDate>Wed, 05 Aug 2009 02:48:18 GMT</pubDate>
<guid>http://snipplr.com/view/17909/recursive-iterator/</guid>
</item>
<item>
<title>(PHP) Recursive Glob - iloveitaly</title>
<link>http://snipplr.com/view/16233/recursive-glob/</link>
<description><![CDATA[ <p>To get all files in a directory:

$fileList = rglob("*", GLOB_MARK, '/path/to/dir');

foreach($fileList as $index => $file) {
	if($file[strlen($file) - 1] != "/") {
		// then it is a file
	}
}</p> ]]></description>
<pubDate>Wed, 24 Jun 2009 00:04:57 GMT</pubDate>
<guid>http://snipplr.com/view/16233/recursive-glob/</guid>
</item>
<item>
<title>(PHP) Recursive Delete with FTP - fackz</title>
<link>http://snipplr.com/view/12988/recursive-delete-with-ftp/</link>
<description><![CDATA[ <p>A recursive function is a function that has the ability to call itself (recursion). I ran into this problem while trying to delete a directory containing files and/or other directories. I was using FTP at the time so, the function will be written as such. It can be easily ported to using filesystem functions by following the same logic/flow.</p> ]]></description>
<pubDate>Wed, 11 Mar 2009 15:21:32 GMT</pubDate>
<guid>http://snipplr.com/view/12988/recursive-delete-with-ftp/</guid>
</item>
<item>
<title>(PHP) Recursive chmod with PHP - ping_ch</title>
<link>http://snipplr.com/view/12565/recursive-chmod-with-php/</link>
<description><![CDATA[ <p>I use it when i've problems with permissions of user-uploaded files.</p> ]]></description>
<pubDate>Wed, 25 Feb 2009 07:52:46 GMT</pubDate>
<guid>http://snipplr.com/view/12565/recursive-chmod-with-php/</guid>
</item>
<item>
<title>(PHP) Delete recursively specific folder (directories) with php - eden159</title>
<link>http://snipplr.com/view/11243/delete-recursively-specific-folder-directories-with-php/</link>
<description><![CDATA[ <p>Helpfull function to remove recursively specific folders.</p> ]]></description>
<pubDate>Fri, 16 Jan 2009 08:08:54 GMT</pubDate>
<guid>http://snipplr.com/view/11243/delete-recursively-specific-folder-directories-with-php/</guid>
</item>
<item>
<title>(PHP) Recursively traverse a Multi-dimensional Array - sidisinsane</title>
<link>http://snipplr.com/view/10200/recursively-traverse-a-multidimensional-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 02 Dec 2008 06:33:44 GMT</pubDate>
<guid>http://snipplr.com/view/10200/recursively-traverse-a-multidimensional-array/</guid>
</item>
</channel>
</rss>
