- 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]);
    }
                                
 Follow us!
Комментарии (4) RSS
Добавить комментарий