?phpif([emailprotected]('http://someserver.com/somefile.zip','./somefile.zip')){ $errors= error_get_last(); echo "COPY ERROR: ".$errors['type']; echo "br /\n".$errors['message'];} else { echo "File copied from remote!";}?
<?php if([email protected]('http://someserver.com/somefile.zip','./somefile.zip')) { $errors= error_get_last(); echo "COPY ERROR: ".$errors['type']; echo "<br />\n".$errors['message']; } else { echo "File copied from remote!"; } ?>