$path = "/home/system/www-vhosts/fare/quotations";
$dir_handle = @opendir($path) or die("Unable to open $path");
$array=array();
while ($file = readdir($dir_handle))
{
if($file!="." && $file!=".."){
array_push($array,substr($file, 0 , -4));
}
}
closedir($dir_handle);
$people=array_unique($array);
foreach($people as $key => $value){
echo "![](/quotations/".$value.".jpg)
"; echo "
![](/quotations/".$value.".jpg)
"; echo "
"; } ?>