Greetings,
I am currently trying to open a zip file, but I keep getting the error message; Warning: Cannot open zip archive filename.zip in 'directory/path'.
I am using the ZZIPlib library and since I am not recieving the error; Fatal Error: Call to undefined function, I can only assume I installed the library correctly. I am running PHP on a Windows machine.
At this point I am just testing what I can do so my code is as basic as it can get.
I also know PHP can see the file because I am not getting the "Can not find file" message.
Any help is appreciated...
Thanks,
Itshim
I am currently trying to open a zip file, but I keep getting the error message; Warning: Cannot open zip archive filename.zip in 'directory/path'.
I am using the ZZIPlib library and since I am not recieving the error; Fatal Error: Call to undefined function, I can only assume I installed the library correctly. I am running PHP on a Windows machine.
At this point I am just testing what I can do so my code is as basic as it can get.
Code:
if(file_exists('filename.zip')) {
$ZipHandle = zip_open('filename.zip');
}
else {
echo "Can not find file.";
}
Any help is appreciated...
Thanks,
Itshim