echo "<div class='fileList'>";
$thumb = str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file);
$thumb = substr($thumb,0,strrpos($thumb,'.')).'.jpg';
if(is_file($thumb)){
echo "<img src='$thumb' /><br/>";
}
echo substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).")<br/><a style='color:orange;' href='".$file."'>Download File</a></div>";
i want to include z.php in place of <a style='color:orange;' href='".$file."'>Download File</a>
plz help
$thumb = str_replace(substr($file,strrpos($file,'/')+1),'thumb-'.substr($file,strrpos($file,'/')+1),$file);
$thumb = substr($thumb,0,strrpos($thumb,'.')).'.jpg';
if(is_file($thumb)){
echo "<img src='$thumb' /><br/>";
}
echo substr($file,strrpos($file,'/')+1)." (".format_size(filesize($file)).")<br/><a style='color:orange;' href='".$file."'>Download File</a></div>";
i want to include z.php in place of <a style='color:orange;' href='".$file."'>Download File</a>
plz help
Comment