RE: [PHP] directory help
| From: | WILSON, Nick | Date: | Mon, 17 Jul 2000 05:52:16 +0000 |
| Subject: | RE: [PHP] directory help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6874@lists.php.net to get a copy of this message | ||
If you're running under unix, something along the lines of
exec('find . -exec d -print', $results);
Where the . is the source directory,
should do for a simple listing of all directories below there. You can then
do what you like on the array $results.
> Hi,
> I need to recursivly traverse a directory path, anyone have any
> ideas on how to do this? I've tried many things, but none have been
> successful so far. Thanks!
>
> Jay
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
>