Bir dizindeki tüm dosyaları listelemek, ekstra bilgiler geliyor

0 Cevap php

Benim kod-burada

if ($handle = opendir('banner/')) {    
    while (false !== ($file = readdir($handle))) { 
        echo "$file"; 
    }     
    closedir($handle); 
} 

wher I run this code unnecessary dots(.) are coming. output image-3.jpgimage-4.jpgimage-1.jpgimage-2.jpgimage-5.jpg... why 3 dots are coming at the last??

0 Cevap