PHP Classes
elePHPant
Icontem

File: autoload.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Number To Words Conversion  >  autoload.php  >  Download  
File: autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Number To Words Conversion
Convert numbers to words in many languages
Author: By
Last change:
Date: 2 years ago
Size: 477 bytes
 

 

Contents

Class file image Download
<?php

if ( ! function_exists('glob_recursive'))
{
    function
glob_recursive($pattern, $flags = 0)
    {
       
$files = glob($pattern, $flags);
       
        foreach (
glob(dirname($pattern).'/*', GLOB_ONLYDIR|GLOB_NOSORT) as $dir)
        {
           
$files = array_merge($files, glob_recursive($dir.'/'.basename($pattern), $flags));
        }
       
        return
$files;
    }
}

foreach (
glob_recursive("Numbers/*.php") as $filename)
{
    include(
$filename);
}