- 1
- 2
- 3
- 4
- 5
- 6
- 7
$imgs = glob('images/'.$url_parts[0].'/*');
// Windows detection
if(DIRECTORY_SEPARATOR == '\\') {
$cnt = count($imgs);
for($i = 0; $i < $cnt; $i++) $imgs[$i] = iconv('CP1251//IGNORE', 'UTF-8', $imgs[$i]);
}
guest 17.09.2013 12:43 # −17
govnomonad 17.09.2013 15:11 # 0
guest 17.09.2013 17:35 # 0
guest7 25.08.2021 03:28 # 0