Re: opening remote tar.gz files

From: Date: Wed, 03 Sep 2003 02:03:03 +0000
Subject: Re: opening remote tar.gz files
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-161509@lists.php.net to get a copy of this message
it definately always only contains one file "Curt Zirzow" <php-general@zirzow.dyndns.org> wrote in message news:20030902211435.GV16462@bagend.shire... > * Thus wrote John Ryan (celticfc@iol.ie): > > is it possible with PHP to download and open a remote tar.gz file?? I read > > in the manual that it is, but it never seems to work for me. > > > > I tried opening the file with fopen > > > > fopen("zlib://http://www.site.com/update.tar.gz", > > "r"); > > but it didnt work > > > > Then I tried using the zlib functions but they just returned garbage. I > > think it might have something to do with it not being able to handle ".tar" > > What are you trying to do with the file? A tar file can contain > multiple files and have a directory structure. > > > Curt > -- > "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#161509) next »