05-21-2017
They were zipped in archive from another computer (running Windows) and after that I downloaded the .zip as attached file from e-mail in the virtual machine.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm attempting to download gnu common lisp software on mac os x unix and having trouble with the ./configure command. It gives an error of:
Unable to guess machine type
use configure --enable-machine=XXX, for XXX such that h/XXX.defs exists, ie in h/386-bsd.defs h/FreeBSD.defs h/NeXT.defs....
... (1 Reply)
Discussion started by: xaosai
1 Replies
2. Solaris
Hi All,
I am new to Solaris Platform . I would like to know whether the machine on which I am working has Oracle9 installed on it or no?
How do I proceed?
Regards
SONAL (3 Replies)
Discussion started by: sonbag_pspl
3 Replies
3. Solaris
Let me start off by saying that I am by no means a unix person. I am tasked to install log4cxx on a brand new machine but it looks like we need the apr, apr-utils, libtool, make, autoconf, automake, and gcc packages just to install log4cxx. Our machine came with no c compiler so I couldn't build... (6 Replies)
Discussion started by: JohnRodey
6 Replies
4. AIX
HI Everybody,
I am a newbie of using AIX, would you mind telling me how to setup JOE and OpenSSH in AIX 5L 5.3. Thanks!
Hugo (0 Replies)
Discussion started by: tknl
0 Replies
5. Solaris
Hi,
I'm new to solaris basically, with a decent background in linux.
But everything seems to have jsut enough differances to be problematic.
two things i need answered are
1) How do i alter the network settings in Solaris 2.5.1?
2) how do i go about installing netscape (already got... (3 Replies)
Discussion started by: netstat
3 Replies
6. AIX
HI Guys,
I have AIX 5.3 with TL05 ...I am trying to install HDLM 5.80/5.81 on this.
Installed Hitachi.aix.support.rte file set.
HDLM kept on installing ...it is not comming out .command status is "running"
============================================
Command: running stdout: yes ... (0 Replies)
Discussion started by: b_manu78
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
Like Windows XP OS, when we will install a software it will go by default to C drive's Program file directory.
So similarly if we will install the software in the Linux OS, where it will go by default ? (4 Replies)
Discussion started by: rajesh08
4 Replies
8. HP-UX
Hello,
I work on an oil rig offshore with limited resources at my disposal at the moment. We have been trying to repair one of our IMS stations, but no one out here is familiar with UNIX and our ABB service rep is spotty at best. The machine is an HP 9000 running HP-UX 10.20.
We are trying... (2 Replies)
Discussion started by: abollmeyer
2 Replies
9. Web Development
Hi all ! I will be very happy if I can get your valuable response, regarding forum software installation.
Let me come to topic, In our institute we have planned to launch forum, which will be used by students and scientists, within intranet., I just gone through MyBB, PHPBB3 and fluxBB, which... (3 Replies)
Discussion started by: Akshay Hegde
3 Replies
10. UNIX for Dummies Questions & Answers
I got every time the same error leaving directory etc when i install any software. I put up the command and the error below, kindly help me out so i could proceed.
csm@csm-HP-Z420:~$ cd Desktop/
csm@csm-HP-Z420:~/Desktop$
csm@csm-HP-Z420:~/Desktop$ cd microtar-0.9.6/... (8 Replies)
Discussion started by: harpreetmanku04
8 Replies
LEARN ABOUT PHP
ziparchive.open
ZIPARCHIVE.OPEN(3) 1 ZIPARCHIVE.OPEN(3)
ZipArchive::open - Open a ZIP file archive
SYNOPSIS
mixed ZipArchive::open (string $filename, [int $flags])
DESCRIPTION
Opens a new zip archive for reading, writing or modifying.
PARAMETERS
o $filename
- The file name of the ZIP archive to open.
o $flags
- The mode to use to open the archive.
o ZipArchive::OVERWRITE
o ZipArchive::CREATE
o ZipArchive::EXCL
o ZipArchive::CHECKCONS
RETURN VALUES
o $Error codes
- Returns TRUE on success or the error code.
o ZipArchive::ER_EXISTS File already exists.
o ZipArchive::ER_INCONS Zip archive inconsistent.
o ZipArchive::ER_INVAL Invalid argument.
o ZipArchive::ER_MEMORY Malloc failure.
o ZipArchive::ER_NOENT No such file.
o ZipArchive::ER_NOZIP Not a zip archive.
o ZipArchive::ER_OPEN Can't open file.
o ZipArchive::ER_READ Read error.
o ZipArchive::ER_SEEK Seek error.
EXAMPLES
Example #1
Open and extract
<?php
$zip = new ZipArchive;
$res = $zip->open('test.zip');
if ($res === TRUE) {
echo 'ok';
$zip->extractTo('test');
$zip->close();
} else {
echo 'failed, code:' . $res;
}
?>
Example #2
Create an archive
<?php
$zip = new ZipArchive;
$res = $zip->open('test.zip', ZipArchive::CREATE);
if ($res === TRUE) {
$zip->addFromString('test.txt', 'file content goes here');
$zip->addFile('data.txt', 'entryname.txt');
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
PHP Documentation Group ZIPARCHIVE.OPEN(3)