Kendin pişir kendin ye dedikleri bu oluyor herhalde

Denemiştim olmamıştı... Şimdi ne hikmetse çalıştı
<?php
$dir = opendir('../images/');
while(false !== ($file = readdir($dir))){
if($file != "." && $file != ".." && $file != "Thumbs.db"){
echo '<option http://www.site.com/images/'.$file.'">http://www.site.com/images/'.$file.'</option>';
}
}
closedir($dir);
?>