Hi Andres, Yes, PHP support "recoursion". That means, that you are calling a function again and again, but with new start-parameters. For example, if you want to search a harddisc for a file, you will call your function SearchFolder($path) with "C:\". If the function itself detects subfolder, it will call itself, but with the parameters "C:\Subfolder1", "C:\Subfolder2" and so on. You have to watch out then, the the function terminated correctly, if the searched file is found.
Martin -- PHP General 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]