Changeset 42 for trunk/bin/file_importer.php
- Timestamp:
- Dec 18, 2005 12:16:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/file_importer.php
r41 r42 27 27 $file_text = join('', file($file)); 28 28 fclose($fp); 29 29 30 30 // Do something with file contents. 31 31 preg_match('/BALANCE:\s*\$([\.\d]+)/', $file_text, $amt); … … 68 68 69 69 /** 70 * Find all files in directories recursivly with a specified file extension. 70 * Find all files in directories recursivly with a specified file extension. 71 71 * 72 72 * @param string $dir the full path to the directory to scan … … 80 80 { 81 81 static $output; 82 82 83 83 $dir_handle = opendir($dir); 84 84 while ($dir_handle && ($file = readdir($dir_handle)) !== false) {
Note: See TracChangeset
for help on using the changeset viewer.