<?php //This is the example of how to use this class include 'urlupload.php'; $upload= new urluploader("http://localhost/wordpress-3.7-beta1.zip"); if($upload->uploadFromUrl()) {$upload->unzip();} else {echo "We could not upload the file";} ?>