I have the following
while($file = readdir($dp)){
if($file != '.' && $file != '..')
{
echo "<TD>";
echo "<a href='$image/$file' target='_blank'><img src='$image/$file' width='120' height='120' alt='image'><br>$file</a>\n";
echo "</TD>";
if($i == 5)
{
echo "<TR>";
$i = 0;
}
$i++;
}
well that is the juist of it but anyway all i want is to be able to have a link that is called download and when you click on it the files donwloads not views it, did see this somewhere but not sure where.
Can anyone help?