Pogledajte određenu poruku
Staro 22. 02. 2008.   #6
cvele
Banned
Knowledge base
 
Avatar cvele
 
Datum učlanjenja: 01.07.2005
Poruke: 1.598
Hvala: 206
140 "Hvala" u 89 poruka
cvele ima spektakularnu aurucvele ima spektakularnu auru
Default

PHP kôd:
    function foldersList($path=null){
        
$buff ftp_rawlist($this->conn_id$path);
        
$res $this->parse_rawlist($buff$path);
        return 
$res;
    }
    function 
rFoldersList($path=null) {

        
$children_paths=$this->foldersList($path);
    
        foreach(
$children_paths as $child_path) {
          
$result[$child_path] = $this->rFoldersList($child_path);
        }
        return 
$result;
    } 
Ovo je konacno resenje...
cvele je offline   Odgovorite uz citat