(.*)<\\/description>/i", fgets($fh), $matches); $array[strtoupper($dir)] = $matches[1]; } fclose($fh); } } if(!isset($array)) return $array = array(); /** * Sort alphabetically on the key. */ ksort($array); return $array; } } ?>