$dir = @dir("images");
$dir_info;
while (($file = $dir->read()) !== false )
{
if($file != "." && $file != ".."){
$dir_info[]=$file;
}
}
//print_r($dir_info);
$dir->close();
$dir = @dir("images");
$dir_info;
while (($file = $dir->read()) !== false )
{
if($file != "." && $file != ".."){
$dir_info[]=$file;
}
}
//print_r($dir_info);
$dir->close();