Fetch the drive contents dynamically
<p>Hi friends 
               in my project i have a situation that when i select the drive letter it display the corresponding files with in the share drive will dispaly . for that i find the connected drives with my system using the following code<br />
<code>echo "&lt;select id = 'drives'&gt;&lt;option&gt;Drives&lt;/option&gt;";
for($ii=66;$ii&lt;92;$ii++) 
{
$char = chr($ii);
if(opendir($char.":/"))   echo "&lt;option&gt;".$char."&lt;/option&gt;";
 } 
echo "&lt;/select&gt;";</code></p>

<p>But i select the drive letters the corresponding files are not displayed. Please help me to fetch the files. Thanks in advance</p>
