OK, hands up, i didnt put in 0 so here it the modified code plus the size of the file in question.
<html>
<head>
<title>Directory Structure Viewer - www.k4k.co.uk©</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#66CCFF" text="#000000">
<p><a name="top"></a> </p>
<table width="100%" border="1" cellspacing="0" cellpadding="5" bordercolor="#000000">
<tr>
<td>
<h2><font color="#FF0000" face="Arial, Helvetica, sans-serif">G12 / Downloads
</font></h2>
<p><font face="Arial, Helvetica, sans-serif"><a href="javascript:window.close()">Close
window</a> | <a href="http://www.k4k.co.uk/g12" target="_blank">Home</a></font>
<p><a href="#a">A</a> <a href="#b">B</a> <a href="#c">C</a> <a href="#d">D</a>
<a href="#e">E</a> <a href="#f">F</a> <a href="#f">G</a> <a href="#h">H</a>
<a href="#i">I</a> <a href="#j">J</a> <a href="#k">K</a> <a href="#l">L</a>
<a href="#m">M</a> <a href="#n">N</a> <a href="#o">O</a> <a href="#p">P</a>
<a href="#q">Q</a> <a href="#r">R</a> <a href="#s">S</a> <a href="#t">T</a>
<a href="#u">U</a> <a href="#v">V</a> <a href="#w">W</a> <a href="#x">X</a>
<a href="#y">Y</a> <a href="#z">Z</a> <a href="#z">0</a> <a href="#z">Z</a>
<a href="#z">1</a> <a href="#z">2</a> <a href="#z">3</a> <a href="#z">4</a>
<a href="#z">5</a> <a href="#z">6</a> <a href="#z">7</a> <a href="#z">8</a>
<a href="#z">9</a> <a href="#z">10</a>
</td>
</tr>
<tr>
<td>
<h2><font color="#FF0000" face="Arial, Helvetica, sans-serif"> </font></h2>
<table width="100%" border="0" cellspacing="2">
<tr>
<td bgcolor="#3300CC">
<div align="center"><b><font face="Arial, Helvetica, sans-serif" size="3" color="#FFFFFF">File
Name</font></b></div>
</td>
<td width="150" bgcolor="#3300CC">
<div align="center"><b><font face="Arial, Helvetica, sans-serif" size="3" color="#FFFFFF">Date
Uploaded</font></b></div>
</td>
</tr>
<?php
//Setting variables
$alf = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
//Loop
for($i = 0; $i < strlen($alf); $i++)
{
$z = $alf{$i};
$zz = strtolower($z);
print"
<tr>
<td><a name=$zz><h2><font color=#FF0000>$z</font></h2></td>
<td width=150><font face=Arial, Helvetica, sans-serif color=#FF0000><a href=#top>Top</a></font></td>
</tr>
";
$handle=opendir('.');
while ($file = readdir($handle)) {
if ($file != "." && $file != "..") {
$filename = str_replace(" ", "%20", $file);
if ($file{0} == $z || $file{0} == $zz){
$predate = filemtime($file); $thedate = date("D d M Y g:i A", $predate);
$size = filesize($file);
print "
<tr>
<td><font face=Arial, Helvetica, sans-serif size=2 color=#FFFFFF><a href=$filename\n target=_blank>$file\n</a></font><i><font color=#000000 size=2> - $size bytes</font></i> <br></td>
<td width=150><font face=Arial, Helvetica, sans-serif size=1 color=#FF0000>$thedate</font></td>
</tr>";
}
} //end of if for ..
}
} //end of while loop
closedir($handle);
?>
</table>
</td>
</tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><a href="javascript:window.close()">Close
window</a> | <a href="#top">Back to Top</a> | <a href="http://www.k4k.co.uk/g12" target="_blank">Home</a></font>
</td>
</tr>
</table>
<a href="javascript:window.close()"><br>
</a> <font face="Arial, Helvetica, sans-serif"><a href="javascript:window.close()">
</a></font>
<!--This script was developed by Carl Heaton of K4K.co.uk.
Please notify me how you have apllied this script and feel free to use when and wherever you want.
Cheers
CARL H -->
</body>
</html>
ARE YA HAPPY NOW 😃