Re: downloading a zip archive from another server
- From: "Oscar Arreyano" <another@xxxxxxxxxxx>
- Date: Thu, 2 Oct 2008 13:17:47 -0500
file_put_contents($path, file_get_contents($url));
zipOpen($path);
Or something to that effect. Else, modify the zipArchive source itself and
use file_get_contents instead of whatever operation they use to 'get' stuff
with.
"Michaelp" <michaelp@xxxxxx> wrote in message
news:c71907ec-8571-4fb4-bfd7-921b8199904f@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello!
I have a PHP-program that opens an archive and operates on its
contents. I would like the program to download the file over http,
possibly from a foreign server, using a URL.
I have tried using ZipArchive::open, with the URL as the filename, but
this gives me an error code 11 (the meaning of which is not documented
anywhere I could see).
How do I accomplish this?
Thanks
Michael
.
- References:
- downloading a zip archive from another server
- From: Michaelp
- downloading a zip archive from another server
- Prev by Date: SOAP Call with multiple occurences of an element
- Next by Date: Re: Language Switching
- Previous by thread: downloading a zip archive from another server
- Next by thread: newbie: Eclipse PDT halts
- Index(es):
Relevant Pages
|