zip_open Fehlermeldung

Tix

Erfahrenes Mitglied
PHP:
<?php
 
 
 $open = zip_open ("Website_daten_st_078_imt.zip");
 ?>

Das ist mein Sourcecode. Und jetzt kommt die Fehlermeldung.

Code:
Warning:  zip_open() [function.zip-open]: Cannot open zip archive Website_daten_st_078_imt.zip in C:\Programme\xampp\htdocs\immo\test.php on line 4

Hat jemand ne Idee woran das liegen könnte. Danke schonmal.
Tix
 
Code:
note: if you are using PHP in module mode, the open_zip function will need an absolute path to the file, because it is not aware of it's whereabouts. this is for win32 at least.

Steht auf http://www.php.net/manual/en/function.zip-open.php#46510 :eek:

Auch einfach mal :google: benutzen. Als Suchwort:
Warning: zip_open() [function.zip-open]: Cannot open zip archive

und schon im ersten Ergbniss ist die Antwort zu finden.

Gruß GalaxyWarrior
 
Hallo!

Und noch interessanter dürfte diese Seite sein.


php.net hat gesagt.:
Die ZIP Unterstützung ist standardmäßig nicht aktiviert. Um die ZIP Funktionen nutzen zu können, muss PHP mit der option --with-zip kompiliert werden. Das ZIP Modul benötigt ZZIPlib version >= 0.10.6. Anmerkung: Zip Unterstützung für PHP vor Version 4.1.0 ist als experimentell anzusehen. Dieser Abschnitt beschreibt die ZIP Unterstützung, wie sie für PHP ab Version 4.1.0 existiert.
Gruss Dr Dau
 

Neue Beiträge

Zurück