|
if ( $handle = opendir( $openpath ) ) {
while ( $realname = readdir( $handle ) ) {
if ( $realname != "." && $realname != ".." && is_file($filein) ) {
$title = $deftitle;
$desc = $defdesc;
$filein = "{$inpath}/$realname";
YES THAT LOOKS RIGHT AND IT WORKS FINE. Before with the line above you could not descend down past the first numeric directory now you can or at least I can with the change.
|