Return to Snippet

Revision: 41689
at February 22, 2011 13:41 by sedgemonkey


Initial Code
function writeDirectory($dir){
	$dh  = opendir($dir);
	while (false !== ($filename = readdir($dh))) {	
		if (strpos($filename, ".mov") > 0 && strpos($filename,".") != 0) {	
			echo $dir . "/" . $filename;
		}
	}
}

Initial URL


Initial Description


Initial Title
PHP Write File Directory

Initial Tags
php, files

Initial Language
PHP