Location: PHPKode > projects > MP3 Intranet > mp3i-0.3.1/show_uploads.php
<? include_once("inc/header.php"); ?>
<? 
if(!$allow_upload){ Header("Location: index.php"); } 
$handle = dir($upload_dir);
?>

<table width="25%" align="center" border="0" cellpadding="0" cellspacing="0">    
 <tr>
  <td align="center" bgcolor="#c0c0c0" nowrap class="header">Uploaded Files</td>
 </tr>
</table>

<table width="25%" align="center" border="0" cellpadding="0" cellspacing="0">    

<?    
while ($file = $handle->read())
{
        
	if(($file != ".") && ($file != ".."))
	{
		print " <tr>\n";
		print "  <td nowrap class=\"main\">" . $file . "</td>\n";
		print " </tr>\n";
	}
}
?>
</table>
<? include_once("inc/footer.php"); ?>
Return current item: MP3 Intranet