View difference between Paste ID: ygFgHpcs and diR86pCr
SHOW: | | - or go back to the newest paste.
1-
$folder=scandir("source/Albums");
1+
2-
	//print_r($folder); ---> Array ( 	
2+
3-
						[0] => . 
3+
$photo = $photos[$i];
4-
						[1] => .. 
4+
$created = filemtime($photo);
5-
						[2] => 71311_original.gif 
5+
echo $photo .'=>'.$created.'<br/>';
6-
						[3] => Прохват в Тихвин 
6+
	$new_photos[$created]=$photo;
7-
					)
7+
}