Untested :-) generic algorithm for recursion:
PROCEDURE Recurce(a)
PROCESS a
IF <some-break-condition-true> THEN
DO <normal program stament>
ELSE
DO Recurce(a)
END IF
END
>-----Original Message-----
>From: Alessio Bernesco L`vore
>[mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, May 15, 2001 4:10 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP-WIN] HELP: Print directory structure.
>
>
>Could someone help me, please?
>
>I have to build a recursive function that print to video all the
directories
>(and sub-directories and so on...) names presents in a specified
>sub-directory on the server.
>
>I can't handle that function, please, i'm in panic...
>
>Thanks,
>
>Alessio.
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail:
>[EMAIL PROTECTED]
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]