This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
2012:test [2014/03/01 10:44] terning removed |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== ===== | ||
| - | ==== Title ==== | ||
| - | Tes. Date, 2012 | ||
| - | <php> | ||
| - | $dir='/ | ||
| - | |||
| - | if (is_dir($dir) && $dh = opendir($dir)) | ||
| - | { | ||
| - | |||
| - | while (($sub= readdir($dh)) !== false) | ||
| - | { | ||
| - | |||
| - | if ($sub != " | ||
| - | { | ||
| - | $subdir=$dir.$sub; | ||
| - | if ( is_dir($subdir)) | ||
| - | { | ||
| - | if ($subdh = opendir($subdir)) | ||
| - | { | ||
| - | while (($spfile = readdir($subdh)) !== false) | ||
| - | { | ||
| - | if ($spfile != " | ||
| - | { | ||
| - | | ||
| - | } | ||
| - | } | ||
| - | } | ||
| - | } | ||
| - | } | ||
| - | } | ||
| - | } | ||
| - | </ | ||