Hmm .. I was more thinking about some interal function ...
what if I want to know what type of drive it is (fixed, cdrom, ram) ?

For now I've written my own get_logical_drives() and get_drive_type()
functions
but I was wondering if there's allready a way to get the desired information
from
the system (e.g. COM , but I didn't succeeded).

- Markus

"Lallous" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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]

Reply via email to