PHP Classes

File: redistribute_acronyms_files.php

Recommend this page to a friend!
  Classes of Jill Lingoff   Sweeper   redistribute_acronyms_files.php   Download  
File: redistribute_acronyms_files.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Sweeper
Clean HTML to remove unwanted tags and attributes
Author: By
Last change:
Date: 5 years ago
Size: 776 bytes
 

Contents

Class file image Download
<?php

print('code for this was not finished.');exit(0);
$dirs = array('abbr', 'acronyms');
$languages = array('eng', 'fra');
foreach(
$dirs as $dir) {
   
$handle = opendir($dir);
   
$path = $dir . '\\';
    while((
$entry = readdir($handle)) != false) {
        if(
$entry === '.' || $entry === '..') {
           
        } else {
           
//print($entry . '<br>');
           
foreach($languages as $language) {
               
$language_handle = opendir($language);
               
$language_path = $path . '\\' . $language . '\\';
                while((
$language_entry = readdir($language_handle)) != false) {
                    if(
$language_entry === '.' || $language_entry === '..') {
                       
                    } elseif(
$language_entry === 'GOC' || $language_entry === 'GDC') {
                       
                    }
                }
               
closedir($language_handle);
            }
        }
    }
   
closedir($handle);
    exit(
0);
}

?>