[PHP] Re: zip_open in 4.0.6 ?

2001-10-18 Thread Christian C.


Ilya V. Lazarev [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi !
 Has anyone tried zip_open in PHP 4.0.6 ?
 It says me that no such function. I've looked at php src and found
 zzip_open(), but this one expect more than 1 arg ( supposedly 2 ).

File/path name and password?

Christian



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: zip_open in 4.0.6 ?

2001-10-18 Thread Ilya V. Lazarev

No .
I've found next lines in ext/zziplib/zziplib.c (next is excerpt from file ):


/* {{{ proto resource zzip_opendir(string filename)
Open a new zzip archive for reading */
--
/* {{{ proto resource zzip_readdir(resource zzipp)
Returns the next file in the archive */
--
/* {{{ proto void zzip_closedir(resource zzipp)
Close a Zip archive */
--
/* {{{ proto string zzip_entry_name(resource zzip_entry)
Return the name given a ZZip entry */
--
/* {{{ proto int zzip_entry_compressedsize(resource zzip_entry)
Return the compressed size of a ZZip entry */
--
/* {{{ proto int zzip_entry_filesize(resource zzip_entry)
Return the actual filesize of a ZZip entry */
--
/* {{{ proto string zzip_entry_compressionmethod(resource zzip_entry)
Return a string containing the compression method used on a 
particular entry */
--
/* {{{ proto bool zzip_open(resource zzip_dp, resource zzip_entry, 
string mode)
Open a Zip File, pointed by the resource entry */
--
/* {{{ proto string zzip_read(resource zzip_ent)
Read X bytes from an opened zzip entry */
--
/* {{{ proto void zzip_close(resource zzip_ent)
Close a zzip entry */

I'm going to test it now, will report about results.



Christian C. wrote:

 Ilya V. Lazarev [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
Hi !
Has anyone tried zip_open in PHP 4.0.6 ?
It says me that no such function. I've looked at php src and found
zzip_open(), but this one expect more than 1 arg ( supposedly 2 ).

 
 File/path name and password?
 
 Christian
 
 
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]