![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 242 Pomógł: 0 Dołączył: 28.11.2014 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Czy jest możliwość aby PHP przy rozpakowaniu plików z archiwum .zip podawał hasło ? Chodzi o to czy jak bym zabezpieczył archiwum hasłem to czy php jest w stanie rozpakować plik ? Aktualnie mam taki kod :
I chciałbym aby przy rozpakowaniu archiwum PHP podał hasło które będzie np. z zmiennej. Z góry dziękuję i pozdrawiam. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 242 Pomógł: 0 Dołączył: 28.11.2014 Ostrzeżenie: (0%) ![]() ![]() |
2015/04/04 13:48:57 [error] 18734#0: *160 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined method ZipArchive::setPassword() in /usr/share/nginx/www/test/index.php on line 4" while reading response header from upstream, client: xxxx, server: localhost, request: "GET /test/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "1xxxx"
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 15.10.2025 - 06:00 |