Hi there, Does anybody know how I can unzip a file from a remote server onto my server? I used to have a simple script to do this, but it seems I can't find it anymore. Thanks for you help
try this... i tested on my server and it works. your php must have the right to exec shell commands. <?php // put your file's url here $fileurl = 'http://ncu.dl.sourceforge.net/project/gate/gate/3.0/gate-3.0-build1846-DOC.zip'; // download and unzip exec('wget ' . $fileurl . ';unzip ' . basename($fileurl)); ?> PHP: