The problem with Cyrillic. There is a file-picture "photo.jpg". If we write this:
<img src="фото/jpg" />
then everything works, and if through a script
$file = scandir($dir); echo "<img src='" . $file[2] . "' />";
it fails because php encodes the file name into something like F% BF% BD% EF% BF% BD% EF and prints not found . This is probably a banal problem, but probably I do not have enough brain substance to solve it.