Re: [PHP] opening .Z archive with gzopen

2006-11-08 Thread Giuseppe Giovinazzi

Please Do you have some examples of using the package File_Archive?. I'm
having much problem to use this package. The documentation in
http://pear.php.net/package/File_Archive is very poor.
For example, I can't extract a file from a gz or zip file.
thanks in advantage

On 3/27/06, Chris <[EMAIL PROTECTED]> wrote:


nicolas figaro wrote:
> Hi
>
> I'm using php 4.3.11 on linux RH9.
>
> I'd like to open a .Z archive with gzopen.
> I looked at the options of gzopen, but I'm not sure there is a way to
> specify the compression used by compress/uncompress.
>
> Has anyone ever tried and done this yet ? (without a system("uncompress
> $file")

Since a compressed file isn't the same as a gzipp'ed file I'd guess this
won't work.

This might:

http://pear.php.net/package/File_Archive

but it doesn't mention .Z files specifically.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] opening .Z archive with gzopen

2006-03-26 Thread nicolas figaro

Chris a écrit :

nicolas figaro wrote:

Hi

I'm using php 4.3.11 on linux RH9.

I'd like to open a .Z archive with gzopen.
I looked at the options of gzopen, but I'm not sure there is a way to 
specify the compression used by compress/uncompress.


Has anyone ever tried and done this yet ? (without a 
system("uncompress $file")


Since a compressed file isn't the same as a gzipp'ed file I'd guess 
this won't work.


This might:

http://pear.php.net/package/File_Archive

but it doesn't mention .Z files specifically.


Hi and thanks for the answer.

The package contains an uncompress function, but the goal was to open 
the file withuout uncompressing it

(like the zcat command or gzopen function).

Or I can ask the guys who generates .Z files to generate .gz instead.

N F

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] opening .Z archive with gzopen

2006-03-26 Thread PHP Mailer

Chris skrev:

nicolas figaro wrote:

Hi

I'm using php 4.3.11 on linux RH9.

I'd like to open a .Z archive with gzopen.
I looked at the options of gzopen, but I'm not sure there is a way to 
specify the compression used by compress/uncompress.


Has anyone ever tried and done this yet ? (without a 
system("uncompress $file")


Since a compressed file isn't the same as a gzipp'ed file I'd guess 
this won't work.


This might:

http://pear.php.net/package/File_Archive

but it doesn't mention .Z files specifically.

Seems to me like it's the in_array causing this, I need a way to see if 
the current IP matches any in the Array


- Jimmie

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] opening .Z archive with gzopen

2006-03-26 Thread Chris

nicolas figaro wrote:

Hi

I'm using php 4.3.11 on linux RH9.

I'd like to open a .Z archive with gzopen.
I looked at the options of gzopen, but I'm not sure there is a way to 
specify the compression used by compress/uncompress.


Has anyone ever tried and done this yet ? (without a system("uncompress 
$file")


Since a compressed file isn't the same as a gzipp'ed file I'd guess this 
won't work.


This might:

http://pear.php.net/package/File_Archive

but it doesn't mention .Z files specifically.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] opening .Z archive with gzopen

2006-03-24 Thread nicolas figaro

Hi

I'm using php 4.3.11 on linux RH9.

I'd like to open a .Z archive with gzopen.
I looked at the options of gzopen, but I'm not sure there is a way to 
specify the compression used by compress/uncompress.


Has anyone ever tried and done this yet ? (without a system("uncompress 
$file")


thanks

Nicolas Figaro

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php