Instrukcje PDF

$file

„;

getDirectory2( „$path/$file”, ($level+1) );

echo „

„;

// Re-call this same function but on a new directory.

// this is what makes function recursive.

} else {

$koszt = substr($file, -5, 1);

$koszta[1] = '1,22 zł’;

$koszta[2] = '2,44 zł’;

$koszta[3] = '3,66 zł’;

$koszta[5] = '6,10 zł’;

$koszta[9] = '10,98 zł’;

$filename = $file.’ (6,10 zł brutto)’;

echo „

„;

sms_pobierz_plik($path.’/’.$file,’

  • ’.$filename,5);

    echo „

  • „;

    //echo „$spaces $file
    „;

    // Just print out the filename

    }

    }

    }

    closedir( $dh );

    // Close the directory handle

    }

    //////////////////////////

    function getDirectoryThis( $path = 'download’, $level = 10, $koszt ){

    $koszty = array(’1′,’2′,’3′,’5′,’9′);

    $koszta[1] = '1,22 zł’;

    $koszta[2] = '2,44 zł’;

    $koszta[3] = '3,66 zł’;

    $koszta[5] = '6,10 zł’;

    $koszta[9] = '10,98 zł’;

    $ignore = array( 'cgi-bin’, ’.’, ’..’, ’.htaccess’, ’.htaccess.add’ );

    // Directories to ignore when listing output. Many hosts

    // will deny PHP access to the cgi-bin.

    $dh = @opendir( $path );

    // Open the directory to the handle $dh

    while( false !== ( $file = readdir( $dh ) ) ){

    // Loop through the directory

    if( !in_array( $file, $ignore ) ){

    // Check that this file is not to be ignored

    $spaces = str_repeat( ’ ’, ( $level * 4 ) );

    // Just to add spacing to the list, to better

    // show the directory tree.

    if( is_dir( „$path/$file” ) ){

    // Its a directory, so we need to keep reading down…

    $isdir = 1;

    echo „

    $file

    „;

    getDirectory2( „$path/$file”, ($level+1) );

    echo „

    „;

    // Re-call this same function but on a new directory.

    // this is what makes function recursive.

    } else {

    $filename = $file.’ (’.$koszta[$koszt] .’ brutto)’;

    echo „

    „;

    sms_pobierz_plik($path.’/’.$file,’

  • ’.$filename,$koszt);

    echo „

  • „;

    //echo „$spaces $file
    „;

    // Just print out the filename

    }

    }

    }

    closedir( $dh );

    // Close the directory handle

    }

    /////////////////////

    function getDirectory2( $path = 'download’, $level = 10 ){

    $koszty = array(’1′,’2′,’3′,’5′,’9′);

    $ignore = array( 'cgi-bin’, ’.’, ’..’, ’.htaccess’, ’.htaccess.add’ );

    // Directories to ignore when listing output. Many hosts

    // will deny PHP access to the cgi-bin.

    $dh = @opendir( $path );

    // Open the directory to the handle $dh

    while( false !== ( $file = readdir( $dh ) ) ){

    // Loop through the directory

    if( !in_array( $file, $ignore ) ){

    // Check that this file is not to be ignored

    $spaces = str_repeat( ’ ’, ( $level * 4 ) );

    // Just to add spacing to the list, to better

    // show the directory tree.

    if( is_dir( „$path/$file”) && in_array( $file, $koszty )) {

    getDirectoryThis( „$path/$file”, ($level+1), $file );

    }

    elseif( is_dir( „$path/$file” ) ){

    // Its a directory, so we need to keep reading down…

    $isdir = 1;

    echo „

    $file

    „;

    getDirectory2( „$path/$file”, ($level+1) );

    echo „

    „;

    // Re-call this same function but on a new directory.

    // this is what makes function recursive.

    } else {

    $filename = $file.’ (6,10 zł brutto)’;

    echo „

    „;

    sms_pobierz_plik($path.’/’.$file,’

  • ’.$filename,5);

    echo „

  • „;

    //echo „$spaces $file
    „;

    // Just print out the filename

    }

    }

    }

    closedir( $dh );

    // Close the directory handle

    }

    getDirectory();

    //

    ?>

    Zobacz jak pracujemy

    Get the Flash Player to see the wordTube Media Player.

    Ostatnio szukane

    Aktualności

    Współpraca z SQTP

    Regionalne Centrum Serwisowe podjęło współpracę z firmą Square Trade Poland Sp. z o.o. Przedmiotem umowy jest  [...]

    Zmiana adresu Siedziby Serwisu w Rudzie Śląskiej

    Zwracamy uwagę że Serwis Laptopów w Katowicach nie zmienił siedziby – nadal znajduje się na [...]

    Lenovo For Those Who Do – Katowice

    Uczestniczymy w konferencji Lenovo.  Technologia ThinkVantage, IdeaPad – portfolio produktowe, IdeaCentre – desktopy konsumenckie. Serwis [...]

    Wizyta studyjna – seminarium – Cluster 55 – Malmo

      W dniach 7 – 9  października  delegacja RCS uczestniczyła w seminarium i spotkaniach roboczych [...]
    Partnerzy

    Asseco Poland    S. A. ,     Sygnity Technology,  Comp Safe Support S. A. , Qumak-Secom, Mentax S.A.

    Czym się zajmujemy
    Regionalne Centrum Serwisowe od początku swojej działalności specjalizuje się w kompleksowej obsłudze firm. Założeniem pierwotnym było zaspokojenie potrzeb rynku na polu dostaw sprzętu komputerowego, urządzeń peryferyjnych i oprogramowania.
    Od tego czasu radykalnie zmienił się świat komputerów a wraz z nim standardy i potrzeby. Przekształceniu ulegał też profil naszej firmy. Zdajemy sobie sprawę z wyzwań jakie stawiają nam nowoczesne technologie dlatego zatrudniamy specjalistów oraz stale współpracujemy z uczelniami wyższymi. W swoich działaniach stawiamy zawsze na rzetelność opartą na wiedzy i doświadczeniu.
    Nasze dane

    Siedziba główna:
    Ruda Śląska
    ul. Wolności 92, 41-700 Ruda Śląska
    tel: 32 700 32 16

    tel.kom.: 796 998 829

    Konto Bankowe:
    ING Bank Śląski o.Ruda Śląska
    Nr konta: 66105013311000002279571109