# {PHP} save .zips

**URL:** https://forum.kirupa.com/t/php-save-zips/220219
**Category:** programming
**Created:** [March 23, 2007, 7:43pm UTC](https://forum.kirupa.com/t/php-save-zips/220219 "2007-03-23T19:43:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)
#### Post date: [March 23, 2007, 7:43pm UTC](https://forum.kirupa.com/t/php-save-zips/220219/1 "2007-03-23T19:43:37Z")

</div>

\*\*Short:  
\*\*Is there a way to get a .zip publicly available from the internet and then save it on your server/computer using PHP?

\*\*Long:  
\*\*I have a variable which holds the location of a .zip on the internet, [http://example.com/example.zip](http://example.com/example.zip). Is there anyway to get the zip and save it in a directory relevant to the script:  
Script: root/scriptsfolder/zipgetter.php  
Target: root/folders/

and an extension of how would I then extract that zip? I have root access to the server so can install stuff like PEAR and all that lot.

Thanks in advance,  
ME :player:
