Reply to Re: Server Side download and unzipping

Your name:

Reply:


Posted by Peter van Schie on 07/31/05 02:07

Richard Quick wrote:

> To speed things up I'd like to use a PHP script to
>
> - download the Typo3 software directly onto the server.
> - unzip the download directly onto the server.
>
> How can I do this?

Richard,

You should be a little more specific about your situation, i.e. what
platform are you on?

If you're on Linux or Unix, you could keep this pretty simple, using
simple exec() calls:

<?php
exec("wget <url where software is located> -O file.zip");
exec("unzip file.zip");

?>

--
http://www.phpforums.nl

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация