![]() |
![]() ![]() |
![]() |
--mundek88-- |
![]()
Post
#1
|
Goście ![]() |
Witajcie,
pytanie streszczonie w nazwie tematu; wiem że istnieje możliwość pakowania / rozpakowywania plików zip skryptem php, ale czy nadal jest to możliwe gdy chcę rozpakować takie archwium zabezpieczone hasłem ? albo utworzyć archwium z własnym hasłem ? szukam, szukam i nie nic na ten temat znaleźć nie mogę... z góry dzięki za pomoc pozdrawiam |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 890 Pomógł: 65 Dołączył: 13.11.2005 Skąd: Olsztyn Ostrzeżenie: (0%) ![]() ![]() |
W komentarzach na http://pl.php.net/zip
jest takie coś: Cytat If you want to unzip an password protected file with php..try the following command....it works in Unix/Apache environment...I haven't tested in any other environment... system("`which unzip` -P Password $zipfile -d $des",$ret_val) Where $zipfile is the path to the .zip to be unzipped and $des is path to the destination directory.....here both absolute and relative path to the script (which contains this system command) will work... if everything runs well...file should be unzipped at the $des directory..and you will get 0 value for $ret_val , which means success(info-zip.org) Regards Krishnendu I wychodziłoby na to, że to jedyna metoda... |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 18:49 |