You can do something like this untested code:
$drives = "";
for ($i=0;$i<25;$i++)
{
$drives .= chdir(Chr($i + 65) . ":\") ? Chr($i + 65) : "";
}
echo "the drives are: $drives";
"Markus Fischer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> can someone tell me where to start looking for a method to get a list of
> available drives in a system ?
>
> Something like
>
> array get_available_drives();
>
> ..
>
> ty,
> Markus
>
>
--
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]