I want to display the list of shared drives connected to my system running Windows. Is there any tutorial for this?
I have tried the following code in PHP:
echo "<select id = 'drives'><option>Drives</option>";
for ($ii=66;$ii<92;$ii++)
{
$char = chr($ii);
if (opendir($char.":/"))
echo "<option>".$char."</option>";
}
echo "</select>";