Re: downloading a zip archive from another server



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


.



Relevant Pages

  • Re: A new definition of the word "content"
    ... many attempts to decipher the Phaistos Disc", ... I suggest that they should also modify the meaning of the word ... In English: Crap. ...
    (sci.lang)
  • Re: A new definition of the word "content"
    ... many attempts to decipher the Phaistos Disc", ... I suggest that they should also modify the meaning of the word ... In English: Crap. ...
    (sci.lang)
  • A new definition of the word "content"
    ... English. ... many attempts to decipher the Phaistos Disc", ... I suggest that they should also modify the meaning of the word ...
    (sci.lang)
  • Re: Question about IP Helper
    ... The error code is 6 that means that the handle is invalid. ... My development environment is Mobile 5.0 on Pocket PC. ... I can get router table information from GetIpForwardTable function of IP ... Now I tried to modify the router table, ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: task list
    ... meaning, will everyone have ... to do this or will this be a global change for this web part? ... Scroll down the Modify View page and you should see the section about ... showing all tasks and not just mine when I add it to my main page ...
    (microsoft.public.sharepoint.windowsservices)